[PATCH] autotest: do not fail when make throws warnings

Pavel Raiskup <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
Related to commit d902536.

On Fedora 17 having installed latest git autoconf and automake, testsuite
failed on 'C unit tests'.  The problem was that tested 'make' was unable to
run jobserver and was throwing warning.  As this is not the tested feature
we can simply ignore warnings.

* tests/autotest.at (C unit tests): Ignore stderr.
---
 tests/autotest.at | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/autotest.at b/tests/autotest.at
index d7d473c..6da1a02 100644
--- a/tests/autotest.at
+++ b/tests/autotest.at
@@ -1935,7 +1935,7 @@ rm t/atconfig
 AT_CHECK_AUTOCONF
 AT_CHECK_CONFIGURE
 AT_CHECK([grep '^EXEEXT='\''.*'\' t/atconfig], [], [ignore])
-AT_CHECK([make], [], [ignore])
+AT_CHECK([make], [], [ignore], [ignore])
 AT_CHECK([cd t && $CONFIG_SHELL ./suite], [], [ignore])
 AT_CHECK([grep 1.*successful t/suite.log], [], [ignore])
 AT_CLEANUP
@@ -1996,7 +1996,7 @@ rm t/atconfig
 AT_CHECK_AUTOCONF
 AT_CHECK_CONFIGURE
 AT_CHECK([grep '^EXEEXT='\''.*'\' t/atconfig], [], [ignore])
-AT_CHECK([make], [], [ignore])
+AT_CHECK([make], [], [ignore], [ignore])
 AT_CHECK([cd t && $CONFIG_SHELL ./suite], [], [ignore])
 AT_CHECK([grep 1.*successful t/suite.log], [], [ignore])
 AT_CLEANUP
-- 
1.7.11.7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.