]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add the default sloppiness to the pth test for pch 64/head
authorAnders Björklund <anders@itension.se>
Mon, 8 Feb 2016 19:19:12 +0000 (20:19 +0100)
committerAnders Björklund <anders@itension.se>
Mon, 8 Feb 2016 19:30:20 +0000 (20:30 +0100)
test.sh

diff --git a/test.sh b/test.sh
index af5fa17720911a057fa8305d0c669f2d34ab2a31..f72774b79fd15b0d180237e2e91481f45aad543e 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -2442,11 +2442,11 @@ clang_pch_suite() {
 
     testname="pth, preprocessor mode"
     $CCACHE -Cz >/dev/null
-    CCACHE_NODIRECT=1 CCACHE_SLOPPINESS=time_macros $CCACHE $COMPILER $SYSROOT -c -include pch.h -fpch-preprocess pch.c
+    CCACHE_NODIRECT=1 CCACHE_SLOPPINESS="$default_sloppiness pch_defines time_macros" $CCACHE $COMPILER $SYSROOT -c -include pch.h -fpch-preprocess pch.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 0
     checkstat 'cache miss' 1
-    CCACHE_NODIRECT=1 CCACHE_SLOPPINESS=time_macros $CCACHE $COMPILER $SYSROOT -c -include pch.h -fpch-preprocess pch.c
+    CCACHE_NODIRECT=1 CCACHE_SLOPPINESS="$default_sloppiness pch_defines time_macros" $CCACHE $COMPILER $SYSROOT -c -include pch.h -fpch-preprocess pch.c
     checkstat 'cache hit (direct)' 0
     checkstat 'cache hit (preprocessed)' 1
     checkstat 'cache miss' 1