From a8683fbaf9056c16a1c5bb2606316ebc35f592a4 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 10 Apr 2012 15:29:18 +0200 Subject: [PATCH] Ignore whitespaces when comparing test results with expected output In mingw, the test result may contain CRLF while the .exp files don't, or the other way around. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 821c0634..7df4fc60 100644 --- a/Makefile.in +++ b/Makefile.in @@ -205,7 +205,7 @@ check: tests $(TEST_LIBRARY_PATH) $${t} @abs_srcroot@ @abs_objroot@ \ > @objroot@$${t}.out 2>&1; \ if test -e "@srcroot@$${t}.exp"; then \ - diff -u @srcroot@$${t}.exp \ + diff -w -u @srcroot@$${t}.exp \ @objroot@$${t}.out >/dev/null 2>&1; \ fail=$$?; \ if test "$${fail}" -eq "1" ; then \