summaryrefslogtreecommitdiffstats
path: root/waf_libbsd.py
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:39:50 +0100
commit5432c6bed37fa26a27c2730e34343d4c507902a9 (patch)
treedf42c99d6abe3bd88798669b629b18067c5de616 /waf_libbsd.py
parentBuild C++ kernel-space compatibility file (diff)
downloadrtems-libbsd-5432c6bed37fa26a27c2730e34343d4c507902a9.tar.bz2
build: Make it possible to disable the tests
Diffstat (limited to 'waf_libbsd.py')
-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 = []