diff --git a/wscript b/wscript index b3d7164275..0167c248bc 100644 --- a/wscript +++ b/wscript @@ -266,8 +266,9 @@ def _build_recursion(bld): '*', 'Tools/*', 'libraries/*/examples/*', - '**/tests', - '**/benchmarks', + 'libraries/*/tests', + 'libraries/*/utility/tests', + 'libraries/*/benchmarks', ] common_dirs_excl = [ @@ -277,8 +278,8 @@ def _build_recursion(bld): ] hal_dirs_patterns = [ - 'libraries/%s/**/tests', - 'libraries/%s/**/benchmarks', + 'libraries/%s/*/tests', + 'libraries/%s/*/benchmarks', 'libraries/%s/examples/*', ]