summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1997-04-28 03:10:37 +0000
committerTom Tromey <tromey@redhat.com>1997-04-28 03:10:37 +0000
commitb03a1bd94d25ff5ffa70745a555d864dac9c051c (patch)
tree6cf7a36d91804f555a66ff870e0129e6d3ee7ed1 /tests
parent4e15c84983adddaeca0d220dc47187f527576127 (diff)
downloadautomake-b03a1bd94d25ff5ffa70745a555d864dac9c051c.tar.gz
test fixlet
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog4
-rw-r--r--tests/Makefile.in3
-rwxr-xr-xtests/confsub.test3
3 files changed, 8 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 0fdc6918a..16a66405a 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,7 @@
+Sun Apr 27 21:07:49 1997 Tom Tromey <tromey@cygnus.com>
+
+ * confsub.test: Fixed bug.
+
Fri Apr 25 12:30:22 1997 Tom Tromey <tromey@cygnus.com>
* conf2.test: New file.
diff --git a/tests/Makefile.in b/tests/Makefile.in
index 388d4e38b..89d3e995d 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -113,6 +113,9 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = tests
distdir: $(DISTFILES)
+ here=`cd $(top_builddir) && pwd`; top_distdir=`cd $$top_distdir && pwd` \
+ && cd $(top_srcdir) \
+ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits tests/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
test -f $(distdir)/$$file \
diff --git a/tests/confsub.test b/tests/confsub.test
index 38e8e7f4c..8108309d3 100755
--- a/tests/confsub.test
+++ b/tests/confsub.test
@@ -29,6 +29,5 @@ END
$AUTOMAKE || exit 1
# Make sure subdir Makefile.in doesn't itself look in the subdir.
-(grep 'subdir/config.h' subdir/Makefile.in | grep -v CONFIG_HEADER_FULL) \
- && exit 1
+(grep 'subdir/config.h' subdir/Makefile.in | grep -v CONFIG_HEADERS) && exit 1
exit 0