summaryrefslogtreecommitdiff
path: root/CCache
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-04-23 08:20:13 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-04-23 08:20:13 +0100
commit3394eab52e28658a18f0d89238a6a7fb1fcb8d34 (patch)
treef56298e0f6e8eb1b0080b43740cb860e6fb17d31 /CCache
parent84e9cc657015af83759e0a998830278b322ff5e1 (diff)
downloadswig-3394eab52e28658a18f0d89238a6a7fb1fcb8d34.tar.gz
Fix 'make check-ccache' when one of the CCACHE_ environment variables is set.
Note that CCACHE_DISABLE is now set in the Travis environment.
Diffstat (limited to 'CCache')
-rwxr-xr-xCCache/test.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/CCache/test.sh b/CCache/test.sh
index f64c3e3de..6e5d26703 100755
--- a/CCache/test.sh
+++ b/CCache/test.sh
@@ -402,6 +402,29 @@ swigtests() {
rm -rf $TESTDIR
mkdir $TESTDIR
cd $TESTDIR || exit 1
+
+unset CCACHE_DIR
+unset CCACHE_TEMPDIR
+unset CCACHE_LOGFILE
+unset CCACHE_VERBOSE
+unset CCACHE_PATH
+unset CCACHE_CC
+unset CCACHE_PREFIX
+unset CCACHE_DISABLE
+unset CCACHE_READONLY
+unset CCACHE_CPP2
+unset CCACHE_NOCOMPRESS
+unset CCACHE_NOSTATS
+unset CCACHE_NLEVELS
+unset CCACHE_HARDLINK
+unset CCACHE_RECACHE
+unset CCACHE_UMASK
+unset CCACHE_HASHDIR
+unset CCACHE_UNIFY
+unset CCACHE_EXTENSION
+unset CCACHE_STRIPC
+unset CCACHE_SWIG
+
CCACHE_DIR="ccache dir" # with space in directory name (like Windows default)
mkdir "$CCACHE_DIR"
export CCACHE_DIR