mirror of https://github.com/swig/swig
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:
parent
99231457db
commit
e0e4a4db6d
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue