mirror of https://github.com/ARMmbed/mbed-os.git
fix a bug where base_path was wrong
parent
3bb0a8aded
commit
35eeef55a1
|
@ -373,6 +373,7 @@ def compile_repos(config, toolchains, targets, profile, verbose, examples):
|
||||||
results = {}
|
results = {}
|
||||||
test_json = {"builds":{}}
|
test_json = {"builds":{}}
|
||||||
valid_examples = set(examples)
|
valid_examples = set(examples)
|
||||||
|
base_path = os.getcwd()
|
||||||
print("\nCompiling example repos....\n")
|
print("\nCompiling example repos....\n")
|
||||||
for example in config['examples']:
|
for example in config['examples']:
|
||||||
example_names = [basename(x['repo']) for x in get_repo_list(example)]
|
example_names = [basename(x['repo']) for x in get_repo_list(example)]
|
||||||
|
@ -430,7 +431,7 @@ def compile_repos(config, toolchains, targets, profile, verbose, examples):
|
||||||
test_json['builds'][test_group] = {
|
test_json['builds'][test_group] = {
|
||||||
"platform":target ,
|
"platform":target ,
|
||||||
"toolchain": toolchain ,
|
"toolchain": toolchain ,
|
||||||
"base_path": os.getcwd() ,
|
"base_path": base_path ,
|
||||||
"baud_rate": int(example['baud_rate']),
|
"baud_rate": int(example['baud_rate']),
|
||||||
"tests":{} }
|
"tests":{} }
|
||||||
test_json['builds'][test_group]['tests'][name]={"binaries":image_info}
|
test_json['builds'][test_group]['tests'][name]={"binaries":image_info}
|
||||||
|
|
Loading…
Reference in New Issue