]> sourceware.org Git - automake.git/commitdiff
* sourcesub.test: New file.
authorTom Tromey <tromey@redhat.com>
Thu, 13 May 1999 20:19:24 +0000 (20:19 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 13 May 1999 20:19:24 +0000 (20:19 +0000)
* Makefile.am (TESTS): Added sourcesub.test.

tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/sourcesub.test [new file with mode: 0755]

index 45f9a5a8256c711ec90b3d3ca0eca971c9a30685..03e26066cfa94f5cdc1fed43c140687ded66a5ee 100644 (file)
@@ -1,3 +1,8 @@
+1999-05-13  Tom Tromey  <tromey@cygnus.com>
+
+       * sourcesub.test: New file.
+       * Makefile.am (TESTS): Added sourcesub.test.
+
 1999-05-01  Tom Tromey  <tromey@cygnus.com>
 
        * libobj2.test: Reverted previous change; it is incorrect.
index 6d96842ae434fa62bbf1eec460730b5cece36e73..c74932c755139fd9b2fcb88c379eb706bf24b7fb 100644 (file)
@@ -185,6 +185,7 @@ rulepat.test \
 scripts.test \
 seenc.test \
 sinclude.test \
+sourcesub.test \
 specflags.test \
 specflags2.test        \
 specflags3.test        \
index 472a77ad241ce8edd3f70bde806c23bd496388b0..8cf507afc5f6f0296db71d5e2fe5257431ad33d0 100644 (file)
@@ -250,6 +250,7 @@ rulepat.test \
 scripts.test \
 seenc.test \
 sinclude.test \
+sourcesub.test \
 specflags.test \
 specflags2.test        \
 specflags3.test        \
diff --git a/tests/sourcesub.test b/tests/sourcesub.test
new file mode 100755 (executable)
index 0000000..01a2175
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+# Test to make sure config sub in _SOURCES fails.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CC
+END
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = x
+x_SOURCES = x.c @FOO@
+EXTRA_x_SOURCES = y.c
+END
+
+$AUTOMAKE && exit 1
+exit 0
This page took 0.03092 seconds and 5 git commands to generate.