From: Joel Rosdahl Date: Sat, 4 Sep 2010 16:26:57 +0000 (+0200) Subject: Clean cache before first pch test to avoid error when $COMPILER is ccache X-Git-Tag: v3.1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13fb386e0a9115c98012c4d51b12ee805b03c1e4;p=thirdparty%2Fccache.git Clean cache before first pch test to avoid error when $COMPILER is ccache --- diff --git a/test.sh b/test.sh index 32e388e06..26b34afa9 100755 --- a/test.sh +++ b/test.sh @@ -1635,6 +1635,7 @@ EOF backdate pch.h testname="create .gch, -c, no -o" + $CCACHE -zC >/dev/null $CCACHE $COMPILER -c pch.h checkstat 'cache hit (direct)' 0 checkstat 'cache hit (preprocessed)' 0