]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Consistently use $CCACHE_COMPILE in base_tests
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 11 Nov 2012 20:53:01 +0000 (21:53 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 11 Nov 2012 20:53:01 +0000 (21:53 +0100)
test.sh

diff --git a/test.sh b/test.sh
index 09b6d5bbc5b6bb1e52b856279d381b761c707e71..64443460e0c1171e9e9c6810ff648e65e30cd38e 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -589,22 +589,22 @@ EOF
     # ccache.)
     testname="-Wp,-P"
     $CCACHE -Cz >/dev/null
-    $CCACHE $COMPILER -c -Wp,-P test1.c
+    $CCACHE_COMPILE -c -Wp,-P test1.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 0
     checkstat 'unsupported compiler option' 1
-    $CCACHE $COMPILER -c -Wp,-P test1.c
+    $CCACHE_COMPILE -c -Wp,-P test1.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 0
     checkstat 'unsupported compiler option' 2
-    $CCACHE $COMPILER -c -Wp,-DFOO,-P,-DGOO test1.c
+    $CCACHE_COMPILE -c -Wp,-DFOO,-P,-DGOO test1.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 0
     checkstat 'unsupported compiler option' 3
-    $CCACHE $COMPILER -c -Wp,-DFOO,-P,-DGOO test1.c
+    $CCACHE_COMPILE -c -Wp,-DFOO,-P,-DGOO test1.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 0