From: Joel Rosdahl Date: Sat, 15 Nov 2014 14:44:21 +0000 (+0100) Subject: test: Fix "profile-use" failure on GCC 4.9 X-Git-Tag: v3.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b8a6e4ff8ce630cfd9357715413fd7b7fad7023;p=thirdparty%2Fccache.git test: Fix "profile-use" failure on GCC 4.9 --- diff --git a/test.sh b/test.sh index 7781497b6..79e3e0d1e 100755 --- a/test.sh +++ b/test.sh @@ -586,14 +586,12 @@ EOF checkstat 'files in cache' 2 testname="profile-use" - $CCACHE_COMPILE -c -fprofile-use test1.c 2> /dev/null + $CCACHE_COMPILE -c -fprofile-use test1.c 2>/dev/null checkstat 'cache hit (preprocessed)' 2 checkstat 'cache miss' 3 - checkstat 'files in cache' 4 - $CCACHE_COMPILE -c -fprofile-use test1.c 2> /dev/null + $CCACHE_COMPILE -c -fprofile-use test1.c 2>/dev/null checkstat 'cache hit (preprocessed)' 3 checkstat 'cache miss' 3 - checkstat 'files in cache' 4 fi ##################################################################