aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-06-22 18:54:00 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-06-22 18:54:03 +0530
commitde9bb743fa37b4ae396e57079f315bcb10b37fc1 (patch)
treeebfdc99ae9c4e55369421103b31918360af5936e
parent337d7fbab5ce502cc83f5aa446e416ba41df333a (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.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/automated/android/tradefed/tradefed.sh b/automated/android/tradefed/tradefed.sh
index 868e81b0..20873dae 100755
--- a/automated/android/tradefed/tradefed.sh
+++ b/automated/android/tradefed/tradefed.sh
@@ -56,6 +56,10 @@ 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}"