[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix .exe-related test failure on MinGW.

From: Ralf Wildenhues
Subject: Fix .exe-related test failure on MinGW.
Date: Mon, 24 Mar 2008 15:40:36 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Applied as obvious, fixing a failure of test 3 with M4=/bin/m4.exe
passed explicitly to configure.


    Fix .exe-related test failure on MinGW.
    * tests/ (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
    for comparing warning output.

diff --git a/tests/ b/tests/
index fce3eb3..33fbf05 100644
--- a/tests/
+++ b/tests/
@@ -107,6 +107,7 @@ m4_define([AT_CHECK_M4],
           m4_case([$4], [], [], [ignore], [ignore], [stderr]))
 m4_case([$4], [], [], [ignore], [],
 [AT_CHECK([[sed 's/^[^:]*m4: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
+       s/^[^:]*m4\.exe: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
        s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4: /m4:\1\2 /
        s/: C\(annot open \)\([^`:]*\):/: c\1`\2'\'':/
        s/: include:\( cannot open\)/:\1/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]