the other jimmy / mbed-sdk-tools

Fork of mbed-sdk-tools by mbed official

Revision:
30:f12ce67666d0
Parent:
29:1210849dba19
Child:
31:182518299918
diff -r 1210849dba19 -r f12ce67666d0 build_everything.py
--- a/build_everything.py	Mon Aug 29 11:18:36 2016 +0100
+++ b/build_everything.py	Mon Aug 29 11:56:59 2016 +0100
@@ -147,6 +147,7 @@
         if not base_source_paths:
             base_source_paths = ['.']
         
+        all_tests = find_tests(base_source_paths[0])
         
         start = time()    
         build_report = {}
@@ -179,7 +180,6 @@
                     
                 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,