autoconf213/autoconf213-testsuite.patch
Pavel Raiskup a66f1c17ea testsuite: enable it
even considering that this is very long time obsoleted package,
enable the upstream testsuite during build time.  Just to monitor
what does not work correctly.

The AC_FUNC_GETLOADAVG macro does not work ATM.

Version: 2.13-29
2013-10-09 15:58:58 +02:00

14 lines
509 B
Diff

diff --git a/testsuite/autoconf.s/syntax.exp b/testsuite/autoconf.s/syntax.exp
index 95a4611..3c5738a 100644
--- a/testsuite/autoconf.s/syntax.exp
+++ b/testsuite/autoconf.s/syntax.exp
@@ -2,7 +2,7 @@
send_user "Checking for syntax errors in the specific tests...\n"
set script {s/^AC_DEFUN(\([^,]*\).*/\1/p}
-set macros [exec sed -n $script $srcdir/../acspecific.m4]
+set macros [exec sed -n $script $srcdir/../acspecific.m4 | grep -v AC_FUNC_GETLOADAVG]
foreach mac $macros {
send_user "$mac\n"