Warning fix for ccache-swig tests

clang deletes the output 'file' whereas gcc does not if the output
'file' is actually a directory.
This commit is contained in:
William S Fulton 2013-04-28 18:41:11 +01:00
parent 99231457db
commit e0e4a4db6d
1 changed files with 2 additions and 2 deletions

View File

@ -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"