Fixed python error when auto-detect option is not present

pull/1346/head^2
Mihail Stoyanov 2015-09-28 15:09:54 +03:00
parent 1be56c8134
commit cc65d391ef
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ if __name__ == '__main__':
# Open file with test specification
# test_spec_filename tells script which targets and their toolchain(s)
# should be covered by the test scenario
opts.auto_detect = False
test_spec = get_json_data_from_file(opts.test_spec_filename) if opts.test_spec_filename else None
if test_spec is None:
if not opts.test_spec_filename: