From 5a9322c56ed0cd16255966e99077843aae57ab3e Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sun, 31 Mar 2013 20:22:58 +0200 Subject: [PATCH] Fix test suite failure on GCC 4.8, take two --- test.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.2