[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: testsuite: distributed depending on non-distributed
From: |
Eric Blake |
Subject: |
Re: testsuite: distributed depending on non-distributed |
Date: |
Wed, 13 Sep 2006 21:37:28 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 9/13/2006 8:43 PM:
> Thanks, but now I get `make check' failures for tests 42-47:
D'oh - they were using AT_CHECK directly instead of AT_CHECK_M4, which did
the filtering. I'll get it yet...
2006-09-13 Eric Blake <address@hidden>
* tests/modules.at (AT_CHECK_M4_MODTEST): Use AT_CHECK_M4, for
stderr filtering.
Index: tests/modules.at
===================================================================
RCS file: /sources/m4/m4/tests/modules.at,v
retrieving revision 1.21
diff -u -p -r1.21 modules.at
- --- tests/modules.at 14 Sep 2006 00:37:26 -0000 1.21
+++ tests/modules.at 14 Sep 2006 03:36:07 -0000
@@ -89,7 +89,13 @@ test
Dumpdef: dumpdef(`test').
]])
- -AT_CHECK([$2 m4 -m load -d $3 input.m4], [0],
+dnl Fortunately, all tests within AT_SETUP are in the same subshell, so
+dnl setting the environment now will impact the AT_CHECK_M4, but not
+dnl carry over to the next AT_SETUP.
+m4_ifval([$2], [$2
+export m4_substr([$2], [0], m4_index([$2], [=]))])
+
+AT_CHECK_M4([-m load $3 input.m4], [0],
[[
Test module called.
Dumpdef: .
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFCM5484KuGfSFAYARAlnBAKC0EL2rgh5FJFcNTZl8JaxjiSmzVACgwOBV
nPzkA758hRfKiGBepv6eZ64=
=NRYr
-----END PGP SIGNATURE-----
- testsuite: distributed depending on non-distributed, Ralf Wildenhues, 2006/09/07
- Re: testsuite: distributed depending on non-distributed, Eric Blake, 2006/09/07
- Re: testsuite: distributed depending on non-distributed, Eric Blake, 2006/09/08
- Re: testsuite: distributed depending on non-distributed, Ralf Wildenhues, 2006/09/12
- Re: testsuite: distributed depending on non-distributed, Eric Blake, 2006/09/12
- Re: testsuite: distributed depending on non-distributed, Eric Blake, 2006/09/13
- Re: testsuite: distributed depending on non-distributed, Ralf Wildenhues, 2006/09/13
- Re: testsuite: distributed depending on non-distributed,
Eric Blake <=
- Re: testsuite: distributed depending on non-distributed, Ralf Wildenhues, 2006/09/14