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