From: Stefano Lattarini Date: Thu, 10 Nov 2011 11:43:54 +0000 (+0100) Subject: tests: avoid a spurious failure of 'ltinit.test' MinGW X-Git-Tag: v1.11.1b~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f250e8c8d3c1b3b667937447515fd05095754e;p=thirdparty%2Fautomake.git 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. --- diff --git a/ChangeLog b/ChangeLog index 8769d8334..944183e5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-11-10 Stefano Lattarini + + 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 tests: testsuite is now safe to run with dmake in parallel mode diff --git a/tests/ltinit.test b/tests/ltinit.test index b4eaad602..85705e005 100755 --- a/tests/ltinit.test +++ b/tests/ltinit.test @@ -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