[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: export ACLOCAL and AUTOMAKE from tests/defs
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: export ACLOCAL and AUTOMAKE from tests/defs |
Date: |
20 Jan 2002 21:56:56 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
When one runs 'make check', Automake creates many Makefiles that
can potentially call `automake' or `aclocal'. However, these
binaries do not exists before `make install'. This more obvious
with the recent renaming of `automake' to `automake-1.5' in the
rebuild rules.
If you haven't run `make install', subdir5.test XPASSes as
follow:
~/projs/cvs/automake/tests % make check TESTS=subdir5.test VERBOSE=1
make check-TESTS
make[1]: Entering directory `/home/adl/projs/cvs/automake/tests'
=== Running test ./subdir5.test
checking for a BSD compatible install... /usr/bin/install -c
[...]
checking dependency style of gcc... (cached) gcc
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
source='a.c' object='a.o' libtool=no \
depfile='.deps/a.Po' tmpdepfile='.deps/a.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"maude\"
-DVERSION=\"1.0\" -I. -I. -g -O2 -c `test -f a.c || echo './'`a.c
gcc -g -O2 -o wish a.o
cd . && /bin/sh /home/adl/projs/cvs/automake/tests/testSubDir/missing --run
aclocal-1.5c
/home/adl/projs/cvs/automake/tests/testSubDir/missing: aclocal-1.5c: command
not found
WARNING: `aclocal-1.5c' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && \
/bin/sh /home/adl/projs/cvs/automake/tests/testSubDir/missing --run
automake-1.5c --foreign Makefile
/home/adl/projs/cvs/automake/tests/testSubDir/missing: automake-1.5c: command
not found
WARNING: `automake-1.5c' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/sh /home/adl/projs/cvs/automake/tests/testSubDir/missing --run
autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure --no-create --no-recursion
checking for a BSD compatible install... /usr/bin/install -c
[...]
checking dependency style of gcc... (cached) gcc
configure: creating ./config.status
cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make: Nothing to be done for `all'.
XPASS: subdir5.test
=============================================================
1 of 1 tests did not behave as expected (1 unexpected passes)
=============================================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/adl/projs/cvs/automake/tests'
make: *** [check-am] Error 2
I'm checking in the following fix.
Index: ChangeLog
===================================================================
RCS file: /cvs/automake/automake/ChangeLog,v
retrieving revision 1.1739
diff -u -r1.1739 ChangeLog
--- ChangeLog 2002/01/19 08:36:13 1.1739
+++ ChangeLog 2002/01/20 20:37:29
@@ -1,3 +1,7 @@
+2002-01-20 Alexandre Duret-Lutz <address@hidden>
+
+ * tests/defs: Export AUTOMAKE and ACLOCAL.
+
2002-01-19 Alexandre Duret-Lutz <address@hidden>
Fix for PR automake/204:
Index: tests/defs
===================================================================
RCS file: /cvs/automake/automake/tests/defs,v
retrieving revision 1.43
diff -u -r1.43 defs
--- defs 2002/01/09 08:52:09 1.43
+++ defs 2002/01/20 20:39:59
@@ -122,6 +122,10 @@
;;
esac
+# Export AUTOMAKE and ACLOCAL so that rebuild rules in Makefiles
+# generated for the tests do not use the installed tools.
+export AUTOMAKE ACLOCAL
+
# Turn on shell traces when VERBOSE=x.
if test "x$VERBOSE" = xx; then
set -x
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: export ACLOCAL and AUTOMAKE from tests/defs,
Alexandre Duret-Lutz <=