build: Make it possible to disable the tests

This commit is contained in:
Sebastian Huber 2019-02-18 10:39:50 +01:00
parent 3e483fb445
commit 88f21b5e2a

View File

@ -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 = []