Skip to content

Commit

Permalink
Merge pull request #2429 from theotherjimmy/specialize-tests-discovery
Browse files Browse the repository at this point in the history
Move find_tests to where it's has arguments
  • Loading branch information
0xc0170 authored Aug 19, 2016
2 parents 5c82db8 + abc7669 commit f6be78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_everything.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@
if not base_source_paths:
base_source_paths = ['.']

all_tests = find_tests(base_source_paths[0])

start = time()
build_report = {}
Expand Down Expand Up @@ -180,6 +179,7 @@

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,
Expand Down

0 comments on commit f6be78d

Please sign in to comment.