[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/floppy/m4-patches/21-fyi-installcheck-works.patch
From: |
Akim Demaille |
Subject: |
/floppy/m4-patches/21-fyi-installcheck-works.patch |
Date: |
Mon, 27 Aug 2001 09:29:16 +0200 |
Wow, I'm moved... It works!!!
Thanks to M4, Autotest made very significant progress! As did my
understanding of some issues in test suites.
I'm very tempted to release Autotest now (well, understand
`beta-release Autoconf'), but there remains one ugly thing: you have
to tell autom4te where are the library files, because up to now it has
no index of them.
AFAICS, this is the one and only remaining task.
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/Makefile.am (installcheck-local): Don't use
`dc_install_base' which is not visible here, but `exec_prefix'
which is clearly the RT anyway.
* tests/testsuite.at (AT_CHECK_M4): Don't pass -M here since it is
related to testing a now installed m4.
* tests/m4: Do it here.
Index: tests/Makefile.am
--- tests/Makefile.am Sat, 25 Aug 2001 10:52:58 +0200 akim
+++ tests/Makefile.am Sat, 25 Aug 2001 11:18:48 +0200 akim
@@ -54,4 +54,4 @@ clean-local:
# Run the test suite on the *installed* tree.
installcheck-local:
- $(SHELL) $(srcdir)/$(TESTSUITE) AUTOTEST_PATH=$$dc_install_base/bin
+ $(SHELL) $(srcdir)/$(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
Index: tests/m4
--- tests/m4 Fri, 24 Aug 2001 19:16:52 +0200 akim
+++ tests/m4 Sat, 25 Aug 2001 10:56:49 +0200 akim
@@ -6,7 +6,7 @@
test -f atlocal && . ./atlocal
${SHELL} $top_builddir/libtool --mode=execute \
- $top_builddir/src/m4 ${1+"$@"} 2>/tmp/m4-$$
+ $top_builddir/src/m4 -M $top_builddir/modules ${1+"$@"} 2>/tmp/m4-$$
status=$?
# Normalize stderr.
Index: tests/testsuite.at
--- tests/testsuite.at Sat, 25 Aug 2001 10:52:16 +0200 akim
+++ tests/testsuite.at Sat, 25 Aug 2001 10:56:49 +0200 akim
@@ -26,7 +26,7 @@
# Hide the impact of libtool on program_invocation_name, and hide
# the differences of paths when src != build.
m4_define([AT_CHECK_M4],
-[AT_CHECK([m4 -I $top_srcdir -M $top_builddir/modules -b -d $1],
+[AT_CHECK([m4 -I $top_srcdir -b -d $1],
[$2], [$3], [$4])
])
- /floppy/m4-patches/21-fyi-installcheck-works.patch,
Akim Demaille <=