build: Make it possible to disable the tests

This commit is contained in:
Sebastian Huber 2019-02-18 10:39:50 +01:00
parent af02f4644f
commit 5432c6bed3

View File

@ -499,7 +499,9 @@ class Builder(builder.ModuleManager):
# #
# Tests # Tests
# #
tests = self.data['tests'] tests = []
if 'tests' in self.data:
tests = self.data['tests']
for testName in sorted(tests): for testName in sorted(tests):
test = self.data['tests'][testName]['all'] test = self.data['tests'][testName]['all']
test_source = [] test_source = []