summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 = []