From: Anders Björklund Date: Mon, 8 Feb 2016 19:19:12 +0000 (+0100) Subject: Add the default sloppiness to the pth test for pch X-Git-Tag: v3.3~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4d227af6e6e5e2dc14bc6765f328da5d5b97ded;p=thirdparty%2Fccache.git Add the default sloppiness to the pth test for pch --- diff --git a/test.sh b/test.sh index af5fa1772..f72774b79 100755 --- 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