mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
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
This commit is contained in:
parent
d0a2e12511
commit
82e95c43e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user