]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Make it possible to run only the direct test suite again
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 25 Apr 2010 08:45:32 +0000 (10:45 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 25 Apr 2010 08:45:32 +0000 (10:45 +0200)
test.sh

diff --git a/test.sh b/test.sh
index 0b5857aacf324d3d550db535acbf2f6b2802dd35..4827485f56fbf0316f1aec729e457c76217efec7 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -735,11 +735,11 @@ EOF
     testname="empty source file"
     $CCACHE -Cz >/dev/null
     cp /dev/null empty.c
-    $CCACHE_COMPILE -c empty.c
+    $CCACHE $COMPILER -c empty.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 1
-    $CCACHE_COMPILE -c empty.c
+    $CCACHE $COMPILER -c empty.c
     checkstat 'cache hit (direct)' 1
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 1