mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Die out autotest script if there is no board parameter specified.
BUG=3017 Review URL: http://codereview.chromium.org/1763025
This commit is contained in:
parent
f4f6ad47b3
commit
66659791ce
4
autotest
4
autotest
@ -213,6 +213,10 @@ def main():
|
|||||||
set_common_env(common_sh, 'GCLIENT_ROOT')
|
set_common_env(common_sh, 'GCLIENT_ROOT')
|
||||||
|
|
||||||
options, args = parse_args_and_help()
|
options, args = parse_args_and_help()
|
||||||
|
|
||||||
|
if not options.board:
|
||||||
|
die(common_sh, 'Missing --board argument.')
|
||||||
|
|
||||||
if options.build:
|
if options.build:
|
||||||
status = build_autotest(options)
|
status = build_autotest(options)
|
||||||
if status:
|
if status:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user