Changeset 400dcc4 in rtems-libbsd


Ignore:
Timestamp:
Jun 11, 2021, 12:17:11 PM (8 weeks ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
6-freebsd-12
Children:
4ce914c
Parents:
2c8bbde
git-author:
Christian Mauderer <christian.mauderer@…> (06/11/21 12:17:11)
git-committer:
Christian Mauderer <oss@…> (06/16/21 09:34:19)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • builder.py

    r2c8bbde r400dcc4  
    10601060    def _checkDependencies(self):
    10611061        enabled_modules = self.getEnabledModules()
    1062         enabled_modules.remove('tests')
     1062        if 'tests' in enabled_modules:
     1063            enabled_modules.remove('tests')
    10631064        for mod in enabled_modules:
    10641065            if mod not in self.modules:
Note: See TracChangeset for help on using the changeset viewer.