[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: 75-gary-canonicalize-strerror-test.patch
From: |
Akim Demaille |
Subject: |
Re: FYI: 75-gary-canonicalize-strerror-test.patch |
Date: |
Mon, 13 Oct 2003 11:03:18 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
> Akim Demaille wrote:
>> > Applied to HEAD of GNU m4.
>> > Bleh! This is all wrong since it relies on knowledge of the internals
>> > of AT_CHECK. But it will allow the `modules: importing' check to work
>> > until we figure out how to do it properly.
>> That's not the way to go IMO. See my chapter in gp2 (and maybe in
>> autoconf.texi I don't remember) on Autotest, especially wrappers. See
>> tests/m4 to.
> Agreed. But unless we generate an error on the test host, and be careful of
> paths and filenames in the error string, it is difficult to write a
> wrapper to canonicalize arbitrary stderr output on the fly.
Right. Nevertheless with the current implementation, you would have
to copy this trick if another test exhibits a similar behavior. At
least this could be wrapped in an AT_CHECK_M4.