Skip to content

Commit f5ad414

Browse files
author
Olli-Pekka Puolitaival
committed
Check that TEST_APPS folder exists
1 parent b8b11f0 commit f5ad414

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/run_icetea.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ def icetea_tests(target, tcdir, verbose):
169169
command = ['icetea', '--tcdir', tcdir, '--list', '--json', '--platform_filter', target] \
170170
+ (['-v'] if verbose else [])
171171

172+
if not os.path.exists(tcdir):
173+
raise Exception("Icetea run error: No TEST_APPS folder in {}".format(os.path.curdir))
174+
172175
stdout, stderr, returncode = run_cmd(command)
173176

174177
if returncode != 0:

0 commit comments

Comments
 (0)