]> sourceware.org Git - automake.git/commitdiff
* distcommon.test: New file.
authorTom Tromey <tromey@redhat.com>
Wed, 7 Feb 2001 20:39:00 +0000 (20:39 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 7 Feb 2001 20:39:00 +0000 (20:39 +0000)
* Makefile.am (TESTS): Added new file.

tests/distcommon.test [new file with mode: 0755]

diff --git a/tests/distcommon.test b/tests/distcommon.test
new file mode 100755 (executable)
index 0000000..6072853
--- /dev/null
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+# A test for failure to include files provided in AC_OUTPUT into
+# DIST_COMMON
+# From Derek R. Price.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << EOF
+AM_INIT_AUTOMAKE(nonesuch, nonesuch)
+AC_OUTPUT(subdir/bar \
+         Makefile \
+         subdir/Makefile)
+EOF
+
+: > Makefile.am
+
+mkdir subdir
+: > subdir/Makefile.am
+: > subdir/bar.in
+
+$AUTOMAKE || exit 1
+
+# verify bar.in
+grep 'DIST_COMMON.*bar.in' subdir/Makefile.in || exit 1
+
+exit 0
This page took 0.027251 seconds and 5 git commands to generate.