mirror of https://github.com/ARMmbed/mbed-os.git
Move exception earlier
parent
f5ad414cca
commit
822fd37a97
|
|
@ -166,12 +166,12 @@ def get_application_list(icetea_json_output, tests_by_name):
|
|||
|
||||
|
||||
def icetea_tests(target, tcdir, verbose):
|
||||
command = ['icetea', '--tcdir', tcdir, '--list', '--json', '--platform_filter', target] \
|
||||
+ (['-v'] if verbose else [])
|
||||
|
||||
if not os.path.exists(tcdir):
|
||||
raise Exception("Icetea run error: No TEST_APPS folder in {}".format(os.path.curdir))
|
||||
|
||||
command = ['icetea', '--tcdir', tcdir, '--list', '--json', '--platform_filter', target] \
|
||||
+ (['-v'] if verbose else [])
|
||||
|
||||
stdout, stderr, returncode = run_cmd(command)
|
||||
|
||||
if returncode != 0:
|
||||
|
|
|
|||
Loading…
Reference in New Issue