]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix test suite failure on GCC 4.8, take two
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 31 Mar 2013 18:22:58 +0000 (20:22 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 31 Mar 2013 18:22:58 +0000 (20:22 +0200)
test.sh

diff --git a/test.sh b/test.sh
index 3e3838712aecb402b89bd070b1c46c616e44a1c6..18bea944d5f8711577cdb282d6d93dd16bfcbd53 100755 (executable)
--- 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