summaryrefslogtreecommitdiff
path: root/CCache/test.sh
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2008-11-22 12:17:48 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2008-11-22 12:17:48 +0000
commita41c66d9a4ea3a9148b407c24a9ee1d41407c9e2 (patch)
treec2b62ee69417a951a4e14e187b799f426c0fd753 /CCache/test.sh
parent25c972d919c98b171a5bc759730992ceec6d57da (diff)
downloadswig-a41c66d9a4ea3a9148b407c24a9ee1d41407c9e2.tar.gz
fix env variable settings and add swig tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'CCache/test.sh')
-rwxr-xr-xCCache/test.sh25
1 files changed, 12 insertions, 13 deletions
diff --git a/CCache/test.sh b/CCache/test.sh
index 459cd301d..051cff92b 100755
--- a/CCache/test.sh
+++ b/CCache/test.sh
@@ -394,7 +394,6 @@ CCACHE_COMPILE="$CCACHE $SWIG"
swigtests
testsuite="link"
-echo ln -s $CCACHE $COMPILER
ln -s $CCACHE $COMPILER
CCACHE_COMPILE="./$COMPILER"
basetests
@@ -405,24 +404,24 @@ swigtests
rm "./$SWIG"
testsuite="hardlink"
-CCACHE_COMPILE="$CCACHE $COMPILER"
-CCACHE_NOCOMPRESS=1 CCACHE_HARDLINK=1 basetests
-CCACHE_COMPILE="$CCACHE $SWIG"
-CCACHE_NOCOMPRESS=1 CCACHE_HARDLINK=1 swigtests
+CCACHE_COMPILE="env CCACHE_NOCOMPRESS=1 CCACHE_HARDLINK=1 $CCACHE $COMPILER"
+basetests
+CCACHE_COMPILE="env CCACHE_NOCOMPRESS=1 CCACHE_HARDLINK=1 $CCACHE $SWIG"
+swigtests
testsuite="cpp2"
-CCACHE_COMPILE="$CCACHE $COMPILER"
-CCACHE_CPP2=1 basetests
-CCACHE_COMPILE="$CCACHE $SWIG"
-CCACHE_CPP2=1 swigtests
+CCACHE_COMPILE="env CCACHE_CPP2=1 $CCACHE $COMPILER"
+basetests
+CCACHE_COMPILE="env CCACHE_CPP2=1 $CCACHE $SWIG"
+swigtests
testsuite="nlevels4"
-CCACHE_COMPILE="$CCACHE $COMPILER"
-CCACHE_NLEVELS=4 basetests
+CCACHE_COMPILE="env CCACHE_NLEVELS=4 $CCACHE $COMPILER"
+basetests
testsuite="nlevels1"
-CCACHE_COMPILE="$CCACHE $COMPILER"
-CCACHE_NLEVELS=1 basetests
+CCACHE_COMPILE="env CCACHE_NLEVELS=1 $CCACHE $COMPILER"
+basetests
cd ..
rm -rf $TESTDIR