From 88f21b5e2ae294e779c7cff60fb85574001d1c5c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 18 Feb 2019 10:39:50 +0100 Subject: [PATCH] build: Make it possible to disable the tests --- waf_libbsd.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = []