From e0e4a4db6d48f0fc1b5fa638650369af1e1c5507 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 28 Apr 2013 18:41:11 +0100 Subject: [PATCH] Warning fix for ccache-swig tests clang deletes the output 'file' whereas gcc does not if the output 'file' is actually a directory. --- CCache/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CCache/test.sh b/CCache/test.sh index 9581c85e3..f64c3e3de 100755 --- a/CCache/test.sh +++ b/CCache/test.sh @@ -142,7 +142,7 @@ basetests() { testname="non-regular" mkdir testd $CCACHE_COMPILE -o testd -c test1.c > /dev/null 2>&1 - rmdir testd + rm -rf testd checkstat 'output to a non-regular file' 1 testname="no-input" @@ -315,7 +315,7 @@ swigtests() { testname="non-regular" mkdir testd $CCACHE_COMPILE -o testd -java testswig1.i > /dev/null 2>&1 - rmdir testd + rm -rf testd checkstat 'output to a non-regular file' 1 testname="no-input"