summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/jsoncpp/test/cleantests.py
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-01-10 13:53:11 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-01-10 13:53:11 +0100
commit02d37b6915e453fbc40afc80830d9a2cbb459d1f (patch)
tree87d7a4c5a93f9ecca1d955cfdac6fe25399a9b69 /3rdparty/jsoncpp/test/cleantests.py
parent950a428641808b5d083dcfddebbed06367f15a15 (diff)
Added integral version of jsoncpp source (nw)
Diffstat (limited to '3rdparty/jsoncpp/test/cleantests.py')
-rw-r--r--3rdparty/jsoncpp/test/cleantests.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/3rdparty/jsoncpp/test/cleantests.py b/3rdparty/jsoncpp/test/cleantests.py
new file mode 100644
index 00000000000..c38fd8ffdd1
--- /dev/null
+++ b/3rdparty/jsoncpp/test/cleantests.py
@@ -0,0 +1,10 @@
+# removes all files created during testing
+import glob
+import os
+
+paths = []
+for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]:
+ paths += glob.glob( 'data/' + pattern )
+
+for path in paths:
+ os.unlink( path )