mirror of https://github.com/ARMmbed/mbed-os.git
Look for mbed_app.json in root dir if no --app-config is provided
parent
2e1c2a1cdf
commit
d438324d31
|
|
@ -145,6 +145,8 @@ if __name__ == '__main__':
|
|||
args_error(parser, "argument --test-config contains invalid path or identifier")
|
||||
elif not options.app_config:
|
||||
config = TestConfig.get_default_config(mcu)
|
||||
if os.path.exists(os.path.abspath(os.path.join("mbed_app.json", ".."))):
|
||||
config = "mbed_app.json"
|
||||
else:
|
||||
config = options.app_config
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue