Changeset 0813c87 in rtems-tools


Ignore:
Timestamp:
09/04/18 00:15:46 (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
e63b9ba
Parents:
a3a1364
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/check.py

    ra3a1364 r0813c87  
    11961196        if self.builds is None:
    11971197            raise error.general('build not found: %s' % (config.build()))
    1198         excludes = set(config.excludes(self.arch) +
    1199                        config.bsp_excludes(self.arch, self.bsp))
     1198        excludes = list(set(config.excludes(self.arch) +
     1199                            config.bsp_excludes(self.arch, self.bsp)))
     1200        #
     1201        # The build can be in the buld string delimited by '-'.
     1202        #
    12001203        remove = []
    12011204        for e in excludes:
    12021205            remove += [b for b in self.builds if e in b]
    1203         for b in remove:
    1204             self.builds.remove(b)
     1206        self.builds = [b for b in self.builds if b not in remove]
    12051207        self.build_set = { }
    12061208        for build in self.builds:
Note: See TracChangeset for help on using the changeset viewer.