From: Joel Rosdahl Date: Sat, 16 Jul 2016 18:00:39 +0000 (+0200) Subject: test: Make CCACHE_COMPILE available in all suites X-Git-Tag: v3.3~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c35e8bb05e6b4f42ad821515b32e3b402e472b;p=thirdparty%2Fccache.git test: Make CCACHE_COMPILE available in all suites --- diff --git a/test.sh b/test.sh index 2ec4880fa..d32dca3eb 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