Skip to content

Commit be58ddf

Browse files
committed
Merge pull request #1431 from bridadan/fix-lib-check
Fixes issue where library is compiled multiple times during testing
2 parents 0a3adb6 + d6ff118 commit be58ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspace_tools/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def execute_thread_slice(self, q, target, toolchains, clean, test_ids, build_rep
395395
# Detect which lib should be added to test
396396
# Some libs have to compiled like RTOS or ETH
397397
for lib in LIBRARIES:
398-
if lib['build_dir'] in test.dependencies and lib['build_dir'] not in libraries:
398+
if lib['build_dir'] in test.dependencies and lib['id'] not in libraries:
399399
libraries.append(lib['id'])
400400

401401

0 commit comments

Comments
 (0)