From 66659791ceae671a6ce93585d3522dae6bd2ca52 Mon Sep 17 00:00:00 2001 From: Eric Li Date: Fri, 30 Apr 2010 15:58:35 -0700 Subject: [PATCH] Die out autotest script if there is no board parameter specified. BUG=3017 Review URL: http://codereview.chromium.org/1763025 --- autotest | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotest b/autotest index ad4f0800f9..8f7b699b9d 100755 --- a/autotest +++ b/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: