summaryrefslogtreecommitdiffstats
path: root/lldb/test/plugins/darwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/plugins/darwin.py')
-rw-r--r--lldb/test/plugins/darwin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/test/plugins/darwin.py b/lldb/test/plugins/darwin.py
index 821f40dd7c3..1f10d86ab95 100644
--- a/lldb/test/plugins/darwin.py
+++ b/lldb/test/plugins/darwin.py
@@ -50,3 +50,11 @@ def buildDwarf(compiler=None):
# True signifies that we can handle building dsym.
return True
+
+def cleanup():
+ """Do class-wide cleanup after the test."""
+ if os.path.isfile("Makefile"):
+ lldbtest.system(["/bin/sh", "-c", "make clean"])
+
+ # True signifies that we can handle building dsym.
+ return True
OpenPOWER on IntegriCloud