Subject: bug#9147: 6 test failures on Fedora 15 with latest from git

From: Jim Meyering <[email-masked]>
Date: Fri, 22 Jul 2011 14:32:05 +0200

Stefano Lattarini wrote:
> Hi Jim, thanks for the report.

Hi Stefano,

Thanks for the quick response.

>> I built the latest and ran "make check TESTSUITEFLAGS=-j20" on Fedora 15.
>>
> Note that the `TESTSUITEFLAGS' variable has no effect on Automake-generated
> testsuite harness.  What you probably wanted was simply "make check -j20".
...
>
> A fix for these failures (which I've only encountered when running the
> automake testsuite with Linux -> MinGW cross compilers) should have
> been applied to the testsuite-work branch some time ago (see commit
> `v1.11-871-geb147a1', "lex tests: avoid spurious failures when LEXLIB
> isn't found").

Good!  Will this fix make it to "master" soon?

>> FAIL: txinfo21.test (exit: 1)
>> =============================
...
>> + test -d rec/main3.html
>> + is_newest main.html main.texi
>> ++ find main.html main.texi -newer main.html
>> + is_newest_files=main.html/index.html
>> + test -z main.html/index.html
>> + exit_status=1
>> + set +e
>> + cd /h/j/w/co/automake/tests
>> + case $exit_status,$keep_testdirs in
>> + test 0 '!=' 0
>> + echo 'txinfo21: exit 1'
>> txinfo21: exit 1
>> + exit 1
>>
> Ah, a failure I've introduced in 'maint' with commit `v1.11-360-ga370e2f'
> "tests: fix spurious failure of txinfo21.test on FreeBSD".  It is due
> to a limitation of the `is_newest' subroutine I hadn't thought about
> (i.e., it doesn't work as expected on directories).  Should we hack
> around this, or try to fix the `is_newest' subroutine instead?  I think
> fixing `is_newest' is the best route. Anyway, I'll be AFK until tomorrow,
> but then I'll give it a try (unless someone wants to beat me ;-)

I can wait ;-)
Thanks.

A quick note about quoting: when there are hundreds of lines of
quoted text, and you insert a couple groups of 5-6 lines, it's
good to remove as much of that context as possible, if only
so that those trying to read your reply will not accidentally
skip over some part of it (I nearly did just that).