mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #1425 from bridadan/lib-dep-build-order-fix
Fix for issue with libraries being built out of orderpull/1429/head
commit
33558d3a03
|
@ -388,15 +388,15 @@ class SingleTestRunner(object):
|
|||
|
||||
|
||||
# First pass through all tests and determine which libraries need to be built
|
||||
libraries = set()
|
||||
libraries = []
|
||||
for test_id in valid_test_map_keys:
|
||||
test = TEST_MAP[test_id]
|
||||
|
||||
# Detect which lib should be added to test
|
||||
# Some libs have to compiled like RTOS or ETH
|
||||
for lib in LIBRARIES:
|
||||
if lib['build_dir'] in test.dependencies:
|
||||
libraries.add(lib['id'])
|
||||
if lib['build_dir'] in test.dependencies and lib['build_dir'] not in libraries:
|
||||
libraries.append(lib['id'])
|
||||
|
||||
|
||||
build_project_options = ["analyze"] if self.opts_goanna_for_tests else None
|
||||
|
|
Loading…
Reference in New Issue