[rtems-tools commit] rtems-bsp-builder: Fix the build sets excludes.

Chris Johns chrisj at rtems.org
Mon Apr 24 12:40:27 UTC 2017


Module:    rtems-tools
Branch:    master
Commit:    b89a7e4b186c1f1aea8d74f20cb9bf4b2ed798a6
Changeset: http://git.rtems.org/rtems-tools/commit/?id=b89a7e4b186c1f1aea8d74f20cb9bf4b2ed798a6

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Apr 25 08:40:19 2017 +1000

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):




More information about the vc mailing list