build: allow to have unit tests in HAL implementations

Allow a tests/ directory in the hal implementations.
This commit is contained in:
Lucas De Marchi 2016-10-25 16:29:29 -02:00
parent 705f96dd3e
commit c430bb29e3
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ def _build_recursion(bld):
] ]
hal_dirs_patterns = [ hal_dirs_patterns = [
'libraries/%s/tests',
'libraries/%s/*/tests', 'libraries/%s/*/tests',
'libraries/%s/*/benchmarks', 'libraries/%s/*/benchmarks',
'libraries/%s/examples/*', 'libraries/%s/examples/*',