summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-18 10:39:50 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-18 10:40:44 +0100
commit88f21b5e2ae294e779c7cff60fb85574001d1c5c (patch)
tree67365d7eaf077fcfdf936f51a17db368c2d1ddc6
parentBuild C++ kernel-space compatibility file (diff)
downloadrtems-libbsd-88f21b5e2ae294e779c7cff60fb85574001d1c5c.tar.bz2
build: Make it possible to disable the tests
-rw-r--r--waf_libbsd.py4
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 = []