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: |