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

Unified Diff: src/scripts/autotest

Issue 1763025: Die out autotest script if there is no board parameter specified. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 8 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: src/scripts/autotest
diff --git a/src/scripts/autotest b/src/scripts/autotest
index ad4f0800f911291e79c7a1134d76388a2e49fc8b..8f7b699b9d6ff4c575737d8e1cfeb92959f66dc7 100755
--- a/src/scripts/autotest
+++ b/src/scripts/autotest
@@ -213,6 +213,10 @@ def main():
set_common_env(common_sh, 'GCLIENT_ROOT')
options, args = parse_args_and_help()
+
+ if not options.board:
+ die(common_sh, 'Missing --board argument.')
+
if options.build:
status = build_autotest(options)
if status:
« 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