summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/errorDetection/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Slice/errorDetection/test.py')
-rw-r--r--cpp/test/Slice/errorDetection/test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/Slice/errorDetection/test.py b/cpp/test/Slice/errorDetection/test.py
index d9a7664b086..6f11921bd73 100644
--- a/cpp/test/Slice/errorDetection/test.py
+++ b/cpp/test/Slice/errorDetection/test.py
@@ -14,6 +14,10 @@ class SliceErrorDetectionTestCase(ClientTestCase):
testdir = current.testsuite.getPath()
slice2cpp = SliceTranslator("slice2cpp")
+ if os.path.exists("tmp"):
+ shutil.rmtree("tmp")
+ os.mkdir("tmp")
+
files = glob.glob("{0}/*.ice".format(testdir))
files.sort()
try: