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

Unified Diff: run_remote_tests.sh

Issue 2854062: autotest: create a candidate script for replacement ebuild test (running the tests) (Closed) Base URL: ssh://gitrw.chromium.org/crosutils
Patch Set: Also took care of whitespace warnings :/ Created 10 years, 5 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 | « autotest_workon ('k') | 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 0ec017e16491ac52a5e30dee60255a59032dabdc..6b4fbf5bc5cd22ccc5b815b95cb268fa9cca44b8 100755
--- a/run_remote_tests.sh
+++ b/run_remote_tests.sh
@@ -268,11 +268,14 @@ function main() {
RAN_ANY_TESTS=${FLAGS_TRUE}
+ # HACK: Temporary hack for cros-workon conversion
+ [[ -n "${WORKON_AUTOTEST}" ]] && WORKON_SUFFIX=_workon
+
local enter_chroot=""
- local autotest="${GCLIENT_ROOT}/src/scripts/autotest"
+ local autotest="${GCLIENT_ROOT}/src/scripts/autotest${WORKON_SUFFIX}"
if [[ ${INSIDE_CHROOT} -eq 0 ]]; then
enter_chroot="./enter_chroot.sh --chroot ${FLAGS_chroot} --"
- autotest="./autotest"
+ autotest="./autotest${WORKON_SUFFIX}"
fi
${enter_chroot} ${autotest} --board "${FLAGS_board}" -m "${FLAGS_remote}" \
« no previous file with comments | « autotest_workon ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698