Subject: Re: aclocal7.test fail only - msg#00012
List: sysutils.automake.bugs
Hello Matthew,
* Matthew sullivan wrote on Wed, Sep 27, 2006 at 03:32:17PM CEST:
>
>
revised verbose execution
>
root:/sources/automake-1.9.6/tests# make check TESTS=aclocal7.test
>
VERBOSE=x
*snip*
>
=== Running test ./aclocal7.test
*snip*
>
+ touch foo
>
+ aclocal-1.9 -I m4
>
+ automake-1.9 --foreign -Werror -Wall --no-force
>
++ ls -1t aclocal.m4 foo
>
++ sed 1q
>
+ test foo = foo
>
++ sed 1q
>
++ ls -1t Makefile.in foo
>
+ test foo = foo
>
++ ls -1t sub/Makefile.in foo
>
++ sed 1q
>
+ test foo = sub/Makefile.in
>
FAIL: aclocal7.test
>
hope this is correct now
Yes, that's the right output. I now remember that there was a bug in
the test, which we fixed in the CVS version of Automake. Please apply
the patch below to the sources, and run the test again, it should pass
then. If it does, there is nothing to worry about. :-)
Cheers,
Ralf
--- tests/aclocal7.test 2006-09-27 15:53:22.000000000 +0200
+++ tests/aclocal7.test 2006-05-11 08:47:56.000000000 +0200
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2003 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
@@ -89,6 +89,7 @@
touch fragment.inc
$sleep
touch foo
+$sleep
$ACLOCAL -I m4
$AUTOMAKE --no-force
# Only ./Makefile.in should change.
@@ -101,6 +102,7 @@
: > README
$sleep
touch foo
+$sleep
$AUTOMAKE --no-force
# Even if no dependency change, the content changed.
test `ls -1t Makefile.in foo | sed 1q` = Makefile.in
@@ -111,6 +113,7 @@
: > sub/Makefile.in
$sleep
touch foo
+$sleep
$ACLOCAL -I m4
$AUTOMAKE --no-force
# Only sub/Makefile.in should change.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: aclocal7.test fail only
thanks for the response
yep lfs do package it differently.. i dont even have another user
other than root setup yet...
revised verbose execution
root:/sources/automake-1.9.6/tests# make check TESTS=aclocal7.test VERBOSE=x
make defs aclocal-1.9 automake-1.9
make[1]: Entering directory `/sources/automake-1.9.6/tests'
make[1]: `defs' is up to date.
make[1]: `aclocal-1.9' is up to date.
make[1]: `automake-1.9' is up to date.
make[1]: Leaving directory `/sources/automake-1.9.6/tests'
make check-TESTS
make[1]: Entering directory `/sources/automake-1.9.6/tests'
/sources/automake-1.9.6/tests:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
=== Running test ./aclocal7.test
++ pwd
/sources/automake-1.9.6/tests/testSubDir
+ set -e
+ cat
+ mkdir sub
+ :
+ cat
+ :
+ mkdir m4
+ echo 'AC_DEFUN([SOME_DEFS], [])'
+ sleep 2
+ aclocal-1.9 -I m4
+ sleep 2
+ automake-1.9 --foreign -Werror -Wall --no-force
+ sleep 2
+ touch foo
+ aclocal-1.9 -I m4
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 Makefile.in sub/Makefile.in foo
++ sed 1q
+ test foo = foo
+ sleep 2
+ aclocal-1.9 -I m4 --force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test aclocal.m4 = aclocal.m4
+ sleep 2
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test sub/Makefile.in = sub/Makefile.in
+ touch m4/somedefs.m4
+ sleep 2
+ touch foo
+ sleep 2
+ aclocal-1.9 -I m4
+ sleep 2
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test aclocal.m4 = aclocal.m4
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test sub/Makefile.in = sub/Makefile.in
+ touch fragment.inc
+ sleep 2
+ touch foo
+ aclocal-1.9 -I m4
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test foo = foo
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test foo = foo
+ grep README Makefile.in
+ :
+ sleep 2
+ touch foo
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test foo = foo
+ grep README Makefile.in
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+ :
+ sleep 2
+ touch foo
+ aclocal-1.9 -I m4
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test foo = foo
++ sed 1q
++ ls -1t Makefile.in foo
+ test foo = foo
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test foo = sub/Makefile.in
FAIL: aclocal7.test
=====================================
1 of 1 tests failed
Please report to bug-automake@xxxxxxx
=====================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/sources/automake-1.9.6/tests'
make: *** [check-am] Error 2
hope this is correct now
Navillus
Previous Message by Thread:
click to view message preview
Re: aclocal7.test fail only
thanks for the response
yep lfs do package it differently.. i dont even have another user
other than root setup yet...
revised verbose execution
root:/sources/automake-1.9.6/tests# make check TESTS=aclocal7.test VERBOSE=x
make defs aclocal-1.9 automake-1.9
make[1]: Entering directory `/sources/automake-1.9.6/tests'
make[1]: `defs' is up to date.
make[1]: `aclocal-1.9' is up to date.
make[1]: `automake-1.9' is up to date.
make[1]: Leaving directory `/sources/automake-1.9.6/tests'
make check-TESTS
make[1]: Entering directory `/sources/automake-1.9.6/tests'
/sources/automake-1.9.6/tests:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
=== Running test ./aclocal7.test
++ pwd
/sources/automake-1.9.6/tests/testSubDir
+ set -e
+ cat
+ mkdir sub
+ :
+ cat
+ :
+ mkdir m4
+ echo 'AC_DEFUN([SOME_DEFS], [])'
+ sleep 2
+ aclocal-1.9 -I m4
+ sleep 2
+ automake-1.9 --foreign -Werror -Wall --no-force
+ sleep 2
+ touch foo
+ aclocal-1.9 -I m4
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 Makefile.in sub/Makefile.in foo
++ sed 1q
+ test foo = foo
+ sleep 2
+ aclocal-1.9 -I m4 --force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test aclocal.m4 = aclocal.m4
+ sleep 2
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test sub/Makefile.in = sub/Makefile.in
+ touch m4/somedefs.m4
+ sleep 2
+ touch foo
+ sleep 2
+ aclocal-1.9 -I m4
+ sleep 2
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test aclocal.m4 = aclocal.m4
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test sub/Makefile.in = sub/Makefile.in
+ touch fragment.inc
+ sleep 2
+ touch foo
+ aclocal-1.9 -I m4
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test foo = foo
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test foo = foo
+ grep README Makefile.in
+ :
+ sleep 2
+ touch foo
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t Makefile.in foo
++ sed 1q
+ test Makefile.in = Makefile.in
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test foo = foo
+ grep README Makefile.in
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+ :
+ sleep 2
+ touch foo
+ aclocal-1.9 -I m4
+ automake-1.9 --foreign -Werror -Wall --no-force
++ ls -1t aclocal.m4 foo
++ sed 1q
+ test foo = foo
++ sed 1q
++ ls -1t Makefile.in foo
+ test foo = foo
++ ls -1t sub/Makefile.in foo
++ sed 1q
+ test foo = sub/Makefile.in
FAIL: aclocal7.test
=====================================
1 of 1 tests failed
Please report to bug-automake@xxxxxxx
=====================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/sources/automake-1.9.6/tests'
make: *** [check-am] Error 2
hope this is correct now
Navillus