Move find_tests to where it's has arguments

pull/2429/head
Jimmy Brisson 2016-08-11 10:03:23 -05:00
parent 0712b8adf6
commit abc7669eb7
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,6 @@ if __name__ == '__main__':
if not base_source_paths:
base_source_paths = ['.']
all_tests = find_tests(base_source_paths[0])
start = time()
build_report = {}
@ -180,6 +179,7 @@ if __name__ == '__main__':
if options.continue_on_build_fail or library_build_success:
# 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,
clean=options.clean,
report=build_report,