add name parameter to StateRunner
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 25 Sep 2021 21:51:20 +0000 (22:51 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 25 Sep 2021 21:51:20 +0000 (22:51 +0100)
src/openpower/test/state.py

index 3cba30eedb09e1319e30e33370667cabcba8e0c0..466e70a0ed633f69c135e75654b58dd3f13904d7 100644 (file)
@@ -42,6 +42,7 @@ class StateRunner:
     """
     def __init__(self, name, kls):
         staterunner_add(name, kls)
+        self.name = name
 
     def setup_for_test(self):
         if False: yield