Skip to content

Fix for issue with libraries being built out of order #1425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions workspace_tools/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,15 +401,15 @@ def execute_thread_slice(self, q, target, toolchains, clean, test_ids, build_rep


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