Skip to content

Commit 5f5014e

Browse files
author
Jenny Plunkett
committed
Added check for options.source_dir is none
1 parent fa56189 commit 5f5014e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
if not config:
145145
args_error(parser, "argument --test-config contains invalid path or identifier")
146146
elif not options.app_config:
147-
config = TestConfig.get_default_config(options.source_dir, mcu)
147+
config = TestConfig.get_default_config(options.source_dir or ['.'], mcu)
148148
else:
149149
config = options.app_config
150150

0 commit comments

Comments
 (0)