Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Unified Diff: run_remote_tests.sh

Issue 3448002: run_remote_tests: for cros_workon, always use prepackaged tests (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: . Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: run_remote_tests.sh
diff --git a/run_remote_tests.sh b/run_remote_tests.sh
index 3296289fe0c5dba5251c6ff2ae1c1ad9f3d2ace2..6eac70417a5ca7d4e2255fa2b11d4913517c55ad 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698