summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gem5/fixture.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/gem5/fixture.py b/tests/gem5/fixture.py
index df834ef75..9d9319c1e 100644
--- a/tests/gem5/fixture.py
+++ b/tests/gem5/fixture.py
@@ -55,6 +55,10 @@ class TempdirFixture(Fixture):
if self.path is not None:
shutil.rmtree(self.path)
+ def skip_cleanup(self):
+ # Set path to none so it's not deleted
+ self.path = None
+
class SConsFixture(Fixture):
'''