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