From b89a7e4b186c1f1aea8d74f20cb9bf4b2ed798a6 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 25 Apr 2017 08:40:19 +1000 Subject: rtems-bsp-builder: Fix the build sets excludes. --- tester/rt/check.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tester/rt/check.py b/tester/rt/check.py index d33d606..b39a0bb 100755 --- a/tester/rt/check.py +++ b/tester/rt/check.py @@ -795,9 +795,11 @@ class build: if builds is None: return None for b in self.config.excludes(arch): - builds.remove(b) + if b in builds: + builds.remove(b) for b in self.config.bsp_excludes(arch, bsp): - builds.remove(b) + if b in builds: + builds.remove(b) return builds def _arch_bsp_dir_make(self, arch, bsp): -- cgit v1.2.3