This procedure is trigger after a test has finished and before
the tearing down process kicks in.
Change-Id: I58ce10814fbc80d96f2f72565491b18de0ec290a
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33997
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
def setup(self, testitem):
pass
+ def post_test_procedure(self, testitem):
+ pass
+
def teardown(self, testitem):
pass
self.testable.status = Status.Running
self.test()
finally:
+ self.builder.post_test_procedure(self.testable)
self.testable.status = Status.TearingDown
self.builder.teardown(self.testable)
raise BrokenFixtureException(fixture, testitem,
traceback.format_exc())
+ def post_test_procedure(self, testitem):
+ for fixture in self.built_fixtures:
+ fixture.post_test_procedure(testitem)
+
def teardown(self, testitem):
for fixture in self.built_fixtures:
try: