diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-18 10:39:50 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-18 10:40:44 +0100 |
commit | 88f21b5e2ae294e779c7cff60fb85574001d1c5c (patch) | |
tree | 67365d7eaf077fcfdf936f51a17db368c2d1ddc6 /waf_libbsd.py | |
parent | Build C++ kernel-space compatibility file (diff) | |
download | rtems-libbsd-88f21b5e2ae294e779c7cff60fb85574001d1c5c.tar.bz2 |
build: Make it possible to disable the tests
Diffstat (limited to 'waf_libbsd.py')
-rw-r--r-- | waf_libbsd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/waf_libbsd.py b/waf_libbsd.py index 597e882e..468dcc97 100644 --- a/waf_libbsd.py +++ b/waf_libbsd.py @@ -499,7 +499,9 @@ class Builder(builder.ModuleManager): # # Tests # - tests = self.data['tests'] + tests = [] + if 'tests' in self.data: + tests = self.data['tests'] for testName in sorted(tests): test = self.data['tests'][testName]['all'] test_source = [] |