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

Unified Diff: src/scripts/autotest_lib.sh

Issue 656023: Changes to use default board when set by setup_board (Closed)
Patch Set: Fix build_autotest Created 10 years, 10 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 | « .gitignore ('k') | src/scripts/build_autotest.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/autotest_lib.sh
diff --git a/src/scripts/autotest_lib.sh b/src/scripts/autotest_lib.sh
index fe76cb766397ec403e4475760b3f88c8c761454b..f60382c5c8edb3f4bbcab7f661343dd138214552 100644
--- a/src/scripts/autotest_lib.sh
+++ b/src/scripts/autotest_lib.sh
@@ -4,7 +4,12 @@
#
# Provides common commands for dealing running/building autotest
-DEFINE_string board "" "The board for which you are building autotest"
+. "$(dirname "$0")/common.sh"
+
+get_default_board
+
+DEFINE_string board "$DEFAULT_BOARD" \
+ "The board for which you are building autotest"
function check_board() {
local board_names=""
« no previous file with comments | « .gitignore ('k') | src/scripts/build_autotest.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698