]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don't remove the test directory upon test failure to ease troubleshooting
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Feb 2010 17:04:02 +0000 (18:04 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Feb 2010 17:20:53 +0000 (18:20 +0100)
test.sh

diff --git a/test.sh b/test.sh
index a689cc04ae2f7e6fa7834ce9f7a2bcb2f91d0771..e71735605440dd6804d4d0aba520daaace6addf5 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -40,8 +40,8 @@ test_failed() {
     echo "SUITE: \"$testsuite\", TEST: \"$testname\" - $1"
     $CCACHE -s
     cd ..
-    rm -rf $TESTDIR
     echo TEST FAILED
+    echo "Test data and log file have been left in $TESTDIR"
     exit 1
 }