From: Joel Rosdahl Date: Wed, 27 Jul 2016 09:55:17 +0000 (+0200) Subject: test: Silence warning from Clang X-Git-Tag: v3.3~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f8c40df07a2bb8169b4b43a6a301dc1047e4003;p=thirdparty%2Fccache.git test: Silence warning from Clang --- diff --git a/test.sh b/test.sh index f2335f1f7..f4a6e53c9 100755 --- a/test.sh +++ b/test.sh @@ -1561,12 +1561,12 @@ EOF # ccache could try to parse and make sense of -Wp, with multiple arguments, # but it currently doesn't, so we have to disable direct mode. - $CCACHE_COMPILE -c -Wp,-DFOO,-DGOO test.c + $CCACHE_COMPILE -c -Wp,-DFOO,-DGOO test.c 2>/dev/null expect_stat 'cache hit (direct)' 0 expect_stat 'cache hit (preprocessed)' 0 expect_stat 'cache miss' 1 - $CCACHE_COMPILE -c -Wp,-DFOO,-DGOO test.c + $CCACHE_COMPILE -c -Wp,-DFOO,-DGOO test.c 2>/dev/null expect_stat 'cache hit (direct)' 0 expect_stat 'cache hit (preprocessed)' 1 expect_stat 'cache miss' 1