Improve reporting of settings failures in tests

This commit is contained in:
Dan Smith 2025-01-13 21:00:52 -08:00 committed by Dan Smith
parent a7b805ab77
commit c2ff1b0421

View file

@ -35,6 +35,9 @@ class TestCaseSettings(base.DriverTest):
self.assertEqual(a.get_value(), b.get_value(),
'Setting value changed from %r to %r' % (
a.get_value(), b.get_value()))
except Exception as e:
print('Failed %s on %s' % (e, a.get_name()))
raise
def test_memory_extra_frozen(self):
# Find the first non-empty memory and try to set it back as a