Skip to content

Commit f6be78d

Browse files
authored
Merge pull request #2429 from theotherjimmy/specialize-tests-discovery
Move find_tests to where it's has arguments
2 parents 5c82db8 + abc7669 commit f6be78d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_everything.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@
147147
if not base_source_paths:
148148
base_source_paths = ['.']
149149

150-
all_tests = find_tests(base_source_paths[0])
151150

152151
start = time()
153152
build_report = {}
@@ -180,6 +179,7 @@
180179

181180
if options.continue_on_build_fail or library_build_success:
182181
# Build all the tests
182+
all_tests = find_tests(base_source_paths[0], target_name, toolchain_name)
183183
test_build_success, test_build = build_tests(all_tests, [build_directory], build_directory, target, target_toolchain,
184184
clean=options.clean,
185185
report=build_report,

0 commit comments

Comments
 (0)