summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/cases/bsp.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/checklayer/cases/bsp.py')
-rw-r--r--scripts/lib/checklayer/cases/bsp.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/scripts/lib/checklayer/cases/bsp.py b/scripts/lib/checklayer/cases/bsp.py
index 7fd56f5d36c..96d819c6bae 100644
--- a/scripts/lib/checklayer/cases/bsp.py
+++ b/scripts/lib/checklayer/cases/bsp.py
@@ -42,16 +42,14 @@ class BSPCheckLayer(OECheckLayerTestCase):
if not self.td['machines']:
self.skipTest('No machines set with --machines.')
- msg = []
+
for machine in self.td['machines']:
- # In contrast to test_machine_signatures() below, errors are fatal here.
- try:
- get_signatures(self.td['builddir'], failsafe=False, machine=machine)
- except RuntimeError as ex:
- msg.append(str(ex))
- if msg:
- msg.insert(0, 'The following machines broke a world build:')
- self.fail('\n'.join(msg))
+ with self.subTest(machine=machine):
+ # In contrast to test_machine_signatures() below, errors are fatal here.
+ try:
+ get_signatures(self.td['builddir'], failsafe=False, machine=machine)
+ except RuntimeError as ex:
+ self.fail(str(ex))
def test_machine_signatures(self):
'''