bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: acloca20 test intermittent failure


From: Ralf Wildenhues
Subject: Re: acloca20 test intermittent failure
Date: Thu, 19 Oct 2006 08:51:11 +0200
User-agent: Mutt/1.5.13 (2006-09-08)

Hello Greg,

Thanks for the report.

* Greg Schafer wrote on Wed, Oct 18, 2006 at 09:37:26AM CEST:
> 
> I'm testing automake-1.10 on i686-pc-linux-gnu and seeing an intermittent
> failure of acloca20.test. It fails for me roughly 1 in 4 attempts, but then
> other times it will pass 10 times in a row. Here's the verbose output when
> it fails:

Out of curiosity: how fast is this machine, how many and what kind of
CPUs does it have?

> $ make check TESTS=acloca20.test VERBOSE=x
[...]
> + autoconf
> + ./configure
> + grep 'right foo'
> FAIL: acloca20.test

Could you please show the time stamps when the failure happens.  Like
this (in the tests subdirectory of the build tree):

$ while make check VERBOSE=x TESTS=acloca20.test; do :; done
$ ls -lart --time-style=full-iso testSubDir testSubDir/autom4te.cache

My assumption is that the second run of autoconf happens within the same
second as the first; if that is true, then the patch below should fix
this.  Could you try it?

Thanks,
Ralf

        * tests/acloca20.test: Use `--force' with the second $AUTOCONF,
        to force update on fast machines where both autoconf invocations
        happen within the same second.
        Report by Greg Schafer.

Index: tests/acloca20.test
===================================================================
RCS file: /cvs/automake/automake/tests/acloca20.test,v
retrieving revision 1.1
diff -u -r1.1 acloca20.test
--- tests/acloca20.test 19 Mar 2006 05:09:11 -0000      1.1
+++ tests/acloca20.test 19 Oct 2006 06:47:40 -0000
@@ -52,6 +52,6 @@
 mv -f configure.int configure.in
 
 $ACLOCAL
-$AUTOCONF
+$AUTOCONF --force
 ./configure | grep 'right foo'
 grep 'wrong foo' foo.m4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]