From: Alexandre Oliva Date: Mon, 26 Apr 1999 23:06:53 +0000 (+0000) Subject: * canon5.test (bin_PROGRAMS): New file. X-Git-Tag: merging-into-user-dep-gen~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952f86d4e489e0a5b3e1990e1769725297882430;p=thirdparty%2Fautomake.git * canon5.test (bin_PROGRAMS): New file. * Makefile.am (TESTS): Added canon5.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index fed488409..805e28f5c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-04-27 Alexandre Oliva + + * canon5.test (bin_PROGRAMS): New file. + * Makefile.am (TESTS): Added canon5.test. + 1999-04-20 Alexandre Oliva * libobj10.test: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index 4d28b20ad..19e0852fc 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,7 +7,7 @@ TESTS = acinclude.test aclocal.test aclocali.test aclocalii.test \ acoutnoq.test acoutput.test acoutqnl.test acouttbs.test acsilent.test \ all.test alpha.test ammissing.test ansi.test ansi2.test ansi3.test \ auxdir.test backsl.test backsl2.test badline.test badprog.test \ -block.test canon.test canon2.test canon3.test canon4.test \ +block.test canon.test canon2.test canon3.test canon4.test canon5.test \ checkall.test clean.test colneq.test colneq2.test colon.test \ colon2.test colon3.test colon4.test colon5.test colon6.test \ colon7.test comment.test comment2.test compile_f_c_cxx.test cond.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 8d7106488..170428611 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -72,7 +72,7 @@ TESTS = acinclude.test aclocal.test aclocali.test aclocalii.test \ acoutnoq.test acoutput.test acoutqnl.test acouttbs.test acsilent.test \ all.test alpha.test ammissing.test ansi.test ansi2.test ansi3.test \ auxdir.test backsl.test backsl2.test badline.test badprog.test \ -block.test canon.test canon2.test canon3.test canon4.test \ +block.test canon.test canon2.test canon3.test canon4.test canon5.test \ checkall.test clean.test colneq.test colneq2.test colon.test \ colon2.test colon3.test colon4.test colon5.test colon6.test \ colon7.test comment.test comment2.test compile_f_c_cxx.test cond.test \ diff --git a/tests/canon5.test b/tests/canon5.test new file mode 100755 index 000000000..cb4d80f11 --- /dev/null +++ b/tests/canon5.test @@ -0,0 +1,52 @@ +#! /bin/sh + +# Test to make sure that we do not use variable names starting in +# non-letters, and AM_ prefixes are used instead + +. $srcdir/defs || exit 1 + +echo AC_PROG_CC >> configure.in + +cat > Makefile.am << 'END' +bin_PROGRAMS = 123test +123test_SOURCES = 123.c +END + +$AUTOMAKE && exit 1 + +cat > Makefile.am << 'END' +bin_PROGRAMS = 123test +AM123test_SOURCES = 123.c +END + +$AUTOMAKE || exit 1 + +cat > Makefile.am << 'END' +bin_PROGRAMS = _foo +_foo_SOURCES = foo.c +END + +$AUTOMAKE && exit 1 + +cat > Makefile.am << 'END' +bin_PROGRAMS = _foo +AM_foo_SOURCES = foo.c +END + +$AUTOMAKE || exit 1 + +cat > Makefile.am << 'END' +bin_PROGRAMS = ,foo +,foo_SOURCES = foo.c +END + +$AUTOMAKE && exit 1 + +cat > Makefile.am << 'END' +bin_PROGRAMS = ,foo +AM_foo_SOURCES = foo.c +END + +$AUTOMAKE || exit 1 + +exit 0