automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef


From: Peter Breitenlohner
Subject: Re: [PATCH] Automake-git testsuite failures: aclocal9, acloca10, nodef
Date: Fri, 4 Dec 2009 13:04:09 +0100 (CET)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Wed, 2 Dec 2009, Ralf Wildenhues wrote:

We'll deal with each such failure one by one.  I would like to find and
understand any bugs that might be lurking here, and not paper over them.

--- a/tests/aclocal9.test
+++ b/tests/aclocal9.test
@@ -42,6 +42,8 @@ $AUTOCONF
 grep macro11 foo
 grep macro21 foo

+sleep 1
+
 $ACLOCAL -I m4_2 -I m4_1
 $AUTOCONF
 ./configure

I don't yet understand why this should be necessary.

Hi Ralf,

almost certainly this has to do with the rounding/truncation of sub-second
timestamps, possibly handled in a different way by Autotools and GNU Make
3.81.

So, off to find out where my hypothesis goes wrong.
Can you apply this diff, run the test as
 cd tests
 $srcdir/aclocal9.test

repeatedly until it fails for you, then send the two aclocal-log-?
files as well as the test output?  Thanks.

Which Autoconf version do you use?

2.65 as required for the ObjC++ patch.

--- a/tests/aclocal9.test
+++ b/tests/aclocal9.test
@@ -36,13 +36,15 @@ cat >m4_2/somedefs.m4 <<EOF
AC_DEFUN([MACRO1], [echo macro12 > foo])
EOF

-$ACLOCAL -I m4_1 -I m4_2
+$ACLOCAL -I m4_1 -I m4_2 --verbose 2> aclocal-log-1
+tail aclocal.m4
$AUTOCONF
./configure
grep macro11 foo
grep macro21 foo

-$ACLOCAL -I m4_2 -I m4_1
+$ACLOCAL -I m4_2 -I m4_1 --verbose 2> aclocal-log-2
+tail aclocal.m4
$AUTOCONF
./configure
grep macro12 foo

To fit into my infrastructure I did:
 cd test
 make TESTS='aclocal9.test' check
but that should be equivalent.

The third attempt failed; the files you asked for are attached, together
with the output from "ls -lrt --fu aclocal9.dir".

In case you need more info please let me know.

Regards
Peter

Attachment: aclocal-log-1
Description: Binary data

Attachment: aclocal-log-2
Description: Binary data

Attachment: test-suite.log
Description: Text document

Attachment: aclocal9.dir-ls-lrt--fu
Description: Text document


reply via email to

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