Add exception for TESTS folders to be excluded from the builds

screamer 2016-04-05 22:07:27 +01:00 committed by Marcus Shawcroft
parent 1b4d69aa8f
commit 5094b10964
1 changed files with 2 additions and 1 deletions

View File

@ -366,7 +366,8 @@ class mbedToolchain:
if ((d.startswith('.') or d in self.legacy_ignore_dirs) or
(d.startswith('TARGET_') and d[7:] not in labels['TARGET']) or
(d.startswith('TOOLCHAIN_') and d[10:] not in labels['TOOLCHAIN'])):
(d.startswith('TOOLCHAIN_') and d[10:] not in labels['TOOLCHAIN']) or
(d == 'TESTS')):
dirs.remove(d)
# Add root to include paths