From 21b5ebeba7dc4ef9d8b1f809741ad73418989a16 Mon Sep 17 00:00:00 2001 From: Cowering Date: Thu, 2 Jul 2015 16:53:38 -0500 Subject: github version of jsoncpp with some fixes: pedantic and C++98 and others. please try to compile for all platforms --- 3rdparty/jsoncpp/test/cleantests.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '3rdparty/jsoncpp/test/cleantests.py') diff --git a/3rdparty/jsoncpp/test/cleantests.py b/3rdparty/jsoncpp/test/cleantests.py index c38fd8ffdd1..9772d542b3a 100644 --- a/3rdparty/jsoncpp/test/cleantests.py +++ b/3rdparty/jsoncpp/test/cleantests.py @@ -1,10 +1,16 @@ -# removes all files created during testing +# Copyright 2007 Baptiste Lepilleur +# Distributed under MIT license, or public domain if desired and +# recognized in your jurisdiction. +# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE + +"""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 ) + paths += glob.glob('data/' + pattern) for path in paths: - os.unlink( path ) + os.unlink(path) -- cgit v1.2.3-70-g09d2