Changeset 2c1f611 in rtems-libbsd


Ignore:
Timestamp:
Jun 11, 2021, 12:17:11 PM (8 weeks ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
master
Children:
8f870a3
Parents:
b45e44e
git-author:
Christian Mauderer <christian.mauderer@…> (06/11/21 12:17:11)
git-committer:
Christian Mauderer <oss@…> (06/16/21 09:33:05)
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

    rb45e44e r2c1f611  
    10631063    def _checkDependencies(self):
    10641064        enabled_modules = self.getEnabledModules()
    1065         enabled_modules.remove('tests')
     1065        if 'tests' in enabled_modules:
     1066            enabled_modules.remove('tests')
    10661067        for mod in enabled_modules:
    10671068            if mod not in self.modules:
Note: See TracChangeset for help on using the changeset viewer.