]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: avoid a spurious failure of 'ltinit.test' MinGW
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 10 Nov 2011 11:43:54 +0000 (12:43 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 10 Nov 2011 11:43:54 +0000 (12:43 +0100)
* tests/ltinit.test: Be laxer in grepping configure output, to
avoid spurious failures on systems which lack POSIX dynamic
linking (e.g., MinGW), or when cross-compiling for such systems.

See also commit `v1.11-855-ge9e5d4a'.

Report and suggestion from Peter Rosin.

ChangeLog
tests/ltinit.test

index 8769d8334859be4f1e5ef4f303e2323fc8f40ac0..944183e5df44cdb437c971a73f0b6ce688e2e717 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: avoid a spurious failure of 'ltinit.test' MinGW
+       * tests/ltinit.test: Be laxer in grepping configure output, to
+       avoid spurious failures on systems which lack POSIX dynamic
+       linking (e.g., MinGW), or when cross-compiling for such systems.
+       See also commit `v1.11-855-ge9e5d4a'.
+       Report and suggestion from Peter Rosin.
+
 2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: testsuite is now safe to run with dmake in parallel mode
index b4eaad602ae61a43a825340e5c985ed37895d0c1..85705e0059fcf9337426254ce8ccb6c2c81e8e79 100755 (executable)
@@ -55,7 +55,7 @@ $AUTOMAKE -a
 cwd=`pwd`
 ./configure --prefix="$cwd/inst" >stdout || { cat stdout; Exit 1; }
 cat stdout
-grep '^checking.*dlopen' stdout
+grep '^checking.*dlfcn\.h.* no$' stdout || grep '^checking.*dlopen' stdout
 
 $MAKE
 $MAKE install