summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2016-07-16 20:00:39 +0200
committerJoel Rosdahl <joel@rosdahl.net>2016-07-16 20:00:39 +0200
commit43c35e8bb05e6b4f42ad821515b32e3b402e472b (patch)
treee1ae5661cd8d19afa7822d4e536aae867a927dcf /test.sh
parent1f5a9697b124120eaebaef8c7543c7a870c8cb9d (diff)
downloadccache-43c35e8bb05e6b4f42ad821515b32e3b402e472b.tar.gz
test: Make CCACHE_COMPILE available in all suites
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index 2ec4880f..d32dca3e 100755
--- a/test.sh
+++ b/test.sh
@@ -753,7 +753,6 @@ EOF
}
base_suite() {
- CCACHE_COMPILE="$CCACHE $COMPILER"
base_tests
}
@@ -2670,6 +2669,8 @@ if [ -z "$CCACHE" ]; then
CCACHE=`pwd`/ccache
fi
+CCACHE_COMPILE="$CCACHE $COMPILER"
+
# save the type of compiler because some test may not work on all compilers
COMPILER_TYPE_CLANG=0
COMPILER_TYPE_GCC=0