summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-06-22 18:54:00 +0530
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-06-22 15:40:16 +0000
commit2c4416c7515d0f4b740a6b71ad7ecd9b18f01b58 (patch)
treed4e626609a358982f5a705e251a53a5f335a691d
parent0916f33ae552bdb68b907328919febdef1ff66a7 (diff)
HACK: android-vts: Remove timer-suspend testcase
The timer-suspend case breaks adb connection and stops further test execution. This is a temporary workaround for now to have vts to be functional. Options in vts don't seem to work well currently to exclude this test. Change-Id: Idcb9a99747891e71f9b6c62c74e563e78f1e6ac3 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xautomated/android/tradefed/tradefed.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/automated/android/tradefed/tradefed.sh b/automated/android/tradefed/tradefed.sh
index 868e81b..9689dfc 100755
--- a/automated/android/tradefed/tradefed.sh
+++ b/automated/android/tradefed/tradefed.sh
@@ -56,6 +56,11 @@ if [ -d "${TEST_PATH}/results" ]; then
mv "${TEST_PATH}/results" "${TEST_PATH}/results_$(date +%Y%m%d%H%M%S)"
fi
+# FIXME removing timer-suspend from vts test as it breaks the testing in lava
+if [ -e "${TEST_PATH}/testcases/vts/testcases/kernel/linux_kselftest/kselftest_config.py" ]; then
+ sed -i "/suspend/d" "${TEST_PATH}"/testcases/vts/testcases/kernel/linux_kselftest/kselftest_config.py
+fi
+
# Run tradefed test.
info_msg "About to run tradefed shell on device ${ANDROID_SERIAL}"
./tradefed-runner.py -t "${TEST_PARAMS}" -p "${TEST_PATH}" -r "${RESULT_FORMAT}"