Merge pull request #1431 from bridadan/fix-lib-check

Fixes issue where library is compiled multiple times during testing
pull/1434/head
Martin Kojtal 2015-11-17 09:59:13 +00:00
commit be58ddfcce
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ class SingleTestRunner(object):
# 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 and lib['build_dir'] not in libraries:
if lib['build_dir'] in test.dependencies and lib['id'] not in libraries:
libraries.append(lib['id'])