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>
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 @@
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}"