From: Joel Rosdahl Date: Sun, 31 Mar 2013 18:22:58 +0000 (+0200) Subject: Fix test suite failure on GCC 4.8, take two X-Git-Tag: v3.1.10~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a9322c56ed0cd16255966e99077843aae57ab3e;p=thirdparty%2Fccache.git Fix test suite failure on GCC 4.8, take two --- diff --git a/test.sh b/test.sh index 3e3838712..18bea944d 100755 --- a/test.sh +++ b/test.sh @@ -565,6 +565,9 @@ EOF $COMPILER -c -Wp,-MD,expected.d test.c expected_d_content=`cat expected.d` + $COMPILER -c -Wp,-MD,expected_mmd.d test.c + expected_mmd_d_content=`cat expected_mmd.d` + ################################################################## # First compilation is a miss. testname="first compilation" @@ -701,7 +704,7 @@ EOF checkstat 'cache hit (direct)' 0 checkstat 'cache hit (preprocessed)' 0 checkstat 'cache miss' 1 - checkfile other.d "$expected_d_content" + checkfile other.d "$expected_mmd_d_content" rm -f other.d @@ -709,7 +712,7 @@ EOF checkstat 'cache hit (direct)' 1 checkstat 'cache hit (preprocessed)' 0 checkstat 'cache miss' 1 - checkfile other.d "$expected_d_content" + checkfile other.d "$expected_mmd_d_content" rm -f other.d