mirror of https://github.com/ARMmbed/mbed-os.git
Move find_tests to where it's has arguments
parent
0712b8adf6
commit
abc7669eb7
|
@ -147,7 +147,6 @@ if __name__ == '__main__':
|
||||||
if not base_source_paths:
|
if not base_source_paths:
|
||||||
base_source_paths = ['.']
|
base_source_paths = ['.']
|
||||||
|
|
||||||
all_tests = find_tests(base_source_paths[0])
|
|
||||||
|
|
||||||
start = time()
|
start = time()
|
||||||
build_report = {}
|
build_report = {}
|
||||||
|
@ -180,6 +179,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if options.continue_on_build_fail or library_build_success:
|
if options.continue_on_build_fail or library_build_success:
|
||||||
# Build all the tests
|
# Build all the tests
|
||||||
|
all_tests = find_tests(base_source_paths[0], target_name, toolchain_name)
|
||||||
test_build_success, test_build = build_tests(all_tests, [build_directory], build_directory, target, target_toolchain,
|
test_build_success, test_build = build_tests(all_tests, [build_directory], build_directory, target, target_toolchain,
|
||||||
clean=options.clean,
|
clean=options.clean,
|
||||||
report=build_report,
|
report=build_report,
|
||||||
|
|
Loading…
Reference in New Issue