Index: build_autotest.sh |
diff --git a/build_autotest.sh b/build_autotest.sh |
index 78d7dc6fe0f705750eaf050f27565a9243702a0e..e3ce752af320f60d193cbc94e101bc1003d8afeb 100755 |
--- a/build_autotest.sh |
+++ b/build_autotest.sh |
@@ -25,8 +25,10 @@ if [[ -n "${CROS_WORKON_SRCROOT}" ]]; then |
setup_board_warning |
exit 1 |
fi |
+ $(dirname "$0")/cros_workon --board=${FLAGS_board} start \ |
+ autotest autotest-tests |
emerge-${FLAGS_board} autotest-tests |
else |
- ./autotest --noprompt --build=all --board="${DEFAULT_BOARD}" $@ |
+ ./autotest --noprompt --build=all --board="${FLAGS_board}" $@ |
fi |