From: Tom Tromey Date: Tue, 13 Jul 1999 13:28:05 +0000 (+0000) Subject: * empty2.test: New file. X-Git-Tag: Release-1-4b~208 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=020966c0a3964cbdbd9db7cc76cb539bb32871e7;p=automake.git * empty2.test: New file. * Makefile.am (TESTS): Added empty2.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 63f6284f..715febf1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-07-13 Tom Tromey + + * empty2.test: New file. + * Makefile.am (TESTS): Added empty2.test. + 1999-05-27 Tom Tromey * subobj3.test: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index c719c64e..6138107d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -86,6 +86,7 @@ dup.test \ dup2.test \ else.test \ empty.test \ +empty2.test \ error.test \ exdir.test \ exdir2.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index bf698f98..8576b011 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -152,6 +152,7 @@ dup.test \ dup2.test \ else.test \ empty.test \ +empty2.test \ error.test \ exdir.test \ exdir2.test \ diff --git a/tests/empty2.test b/tests/empty2.test new file mode 100755 index 00000000..31e9799b --- /dev/null +++ b/tests/empty2.test @@ -0,0 +1,20 @@ +#! /bin/sh + +# Test to make sure empty _SOURCES suppresses assumption about default +# name. Report from Pavel Roskin. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = pavel +pavel_SOURCES = +END + +$AUTOMAKE || exit 1 + +fgrep pavel.c Makefile.in && exit 1 +exit 0