From 82e95c43e70edc0e563153b336a579111918f3de Mon Sep 17 00:00:00 2001 From: Zdenek Behan Date: Tue, 14 Sep 2010 15:11:39 -0700 Subject: [PATCH] run_remote_tests: for cros_workon, always use prepackaged tests * Fixes running tests different than from the main autotest repo * Also provides a better fix for chrome tests Change-Id: I803ba7caa5561e3001d5627219718f471e59bb19 BUG= TEST= Review URL: http://codereview.chromium.org/3448002 --- run_remote_tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/run_remote_tests.sh b/run_remote_tests.sh index 3296289fe0..6eac70417a 100755 --- a/run_remote_tests.sh +++ b/run_remote_tests.sh @@ -154,6 +154,12 @@ function main() { remote_access_init + # HACK: Temporary hack for cros-workon conversion + # In cros-workon, we always use the prepackaged tests, because the locations + # where tests come from are possibly infinite. + [[ -n "${CROS_WORKON_SRCROOT}" ]] && \ + FLAGS_prepackaged_autotest="/build/${FLAGS_board}/usr/local/autotest/" + local autotest_dir="" if [[ -z "${FLAGS_prepackaged_autotest}" ]]; then learn_board