Linaro/test-definitions

WARNING: linaro-android-kernel-tests.sh NOT found

Closed this issue · 1 comments

I don't understand how this script actually works.There is no implementation of Kernel testing in it.

automated/android/linaro-android-kernel-tests/linaro-android-kernel-tests.sh

TEST_SCRIPT="linaro-android-kernel-tests.sh"`

Run test script.

if test -n "$(adb shell "which ${TEST_SCRIPT}")"; then
# disable selinux for kernel test
selinux=$(adb shell getenforce)
if [ "X${selinux}" = "XEnforcing" ]; then
adb shell setenforce 0
fi
adb shell "${TEST_SCRIPT}" | tee "${LOGFILE}"
# enable selinux again after the test
# to avoid affecting next test
if [ "X${selinux}" = "XEnforcing" ]; then
adb shell setenforce 1
fi
else
warn_msg "${TEST_SCRIPT} NOT found"
report_fail "test-script-existence-check"
exit 0
fi

I already found it.