diff options
author | Chris Johns <chrisj@rtems.org> | 2018-09-04 10:15:46 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-09-04 10:15:46 +1000 |
commit | 0813c87480aa6209a6c32f9952dd02ab057696c5 (patch) | |
tree | 4099b0cb2607cb14e19785324b09da66de731436 /tester/rt/check.py | |
parent | covoar: Close the ELF and DWARF handles once the data is loaded. (diff) | |
download | rtems-tools-0813c87480aa6209a6c32f9952dd02ab057696c5.tar.bz2 |
tester/bsp-builder: Fix the build jobs with more than one BSP exclude.
Excluding more than one build resulted in common builds being removed
resulting in a list remove error.
Diffstat (limited to 'tester/rt/check.py')
-rwxr-xr-x | tester/rt/check.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tester/rt/check.py b/tester/rt/check.py index e978869..36eca39 100755 --- a/tester/rt/check.py +++ b/tester/rt/check.py @@ -1195,13 +1195,15 @@ class build_jobs: self.builds = config.builds() if self.builds is None: raise error.general('build not found: %s' % (config.build())) - excludes = set(config.excludes(self.arch) + - config.bsp_excludes(self.arch, self.bsp)) + excludes = list(set(config.excludes(self.arch) + + config.bsp_excludes(self.arch, self.bsp))) + # + # The build can be in the buld string delimited by '-'. + # remove = [] for e in excludes: remove += [b for b in self.builds if e in b] - for b in remove: - self.builds.remove(b) + self.builds = [b for b in self.builds if b not in remove] self.build_set = { } for build in self.builds: self.build_set[build] = config.build_options(build) |