test/.gitignore: Add testprogs/test_simple
[jansson.git] / test / run-test
index 2086c82..a3ff738 100644 (file)
@@ -1,3 +1,8 @@
+# Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
+#
+# Jansson is free software; you can redistribute it and/or modify
+# it under the terms of the MIT license. See LICENSE for details.
+
 VALGRIND_CMDLINE="valgrind --leak-check=full --show-reachable=yes --track-origins=yes -q"
 
 run_testprog() {
@@ -35,10 +40,9 @@ run_testprog() {
     fi
 }
 
-rm -rf testlogs
-
 for testfile in $TESTFILES; do
     tmpdir="testlogs/`basename $testfile`"
+    rm -rf $tmpdir
     mkdir -p $tmpdir
     ${srcdir}/split-testfile.py $testfile $tmpdir | while read name; do
         run_test loadf_dumpf $tmpdir/$name