Morpheus / mbed-tools

Fork of mbed-tools by -deleted-

Revision:
15:8725ad2e7157
Parent:
12:dde046e96d4b
Child:
17:f0d03f4a04e2
--- a/toolchains/__init__.py	Tue Apr 05 21:48:32 2016 +0100
+++ b/toolchains/__init__.py	Tue Apr 05 22:07:27 2016 +0100
@@ -366,7 +366,8 @@
 
                 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