diff --git a/tools/run_icetea.py b/tools/run_icetea.py index eaec63921c..41d580dfcd 100644 --- a/tools/run_icetea.py +++ b/tools/run_icetea.py @@ -169,6 +169,9 @@ 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)) + stdout, stderr, returncode = run_cmd(command) if returncode != 0: