From c51b1189e3d5353e842991f5859ddcea0f73e426 Mon Sep 17 00:00:00 2001 From: theuni Date: Mon, 24 Jan 2011 16:05:21 -0500 Subject: Merged cptspiff's code-reshuffle branch. Squashed commit due to build breakage during code-reshuffle history. Conflicts: xbmc/Util.cpp xbmc/cdrip/CDDARipper.cpp xbmc/filesystem/Directory.cpp xbmc/filesystem/File.cpp --- lib/jsoncpp/test/cleantests.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/jsoncpp/test/cleantests.py (limited to 'lib/jsoncpp/test/cleantests.py') diff --git a/lib/jsoncpp/test/cleantests.py b/lib/jsoncpp/test/cleantests.py new file mode 100644 index 0000000000..c38fd8ffdd --- /dev/null +++ b/lib/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 ) -- cgit v1.2.3