mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 09:45:42 +08:00
builder.py: Only disable tests if they are there
For checking the dependencies, the tests are removed. But if the tests are not enabled at all, that triggers a python exception.
This commit is contained in:

committed by
Christian Mauderer

parent
b45e44eabb
commit
2c1f61133e
@@ -1062,6 +1062,7 @@ class ModuleManager(object):
|
||||
|
||||
def _checkDependencies(self):
|
||||
enabled_modules = self.getEnabledModules()
|
||||
if 'tests' in enabled_modules:
|
||||
enabled_modules.remove('tests')
|
||||
for mod in enabled_modules:
|
||||
if mod not in self.modules:
|
||||
|
Reference in New Issue
Block a user