diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-28 18:41:11 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2013-04-28 18:41:11 +0100 |
commit | e0e4a4db6d48f0fc1b5fa638650369af1e1c5507 (patch) | |
tree | d35ad1b1696b2ff0fb2fbd145deb5faf739b528d /CCache | |
parent | 99231457dbe6436df46c8d4d6b22aa906cf48e6d (diff) | |
download | swig-e0e4a4db6d48f0fc1b5fa638650369af1e1c5507.tar.gz |
Warning fix for ccache-swig tests
clang deletes the output 'file' whereas gcc does not if the output
'file' is actually a directory.
Diffstat (limited to 'CCache')
-rwxr-xr-x | CCache/test.sh | 4 |
1 files 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" |