]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* canon5.test (bin_PROGRAMS): New file.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 26 Apr 1999 23:06:53 +0000 (23:06 +0000)
committerAlexandre Oliva <oliva@dcc.unicamp.br>
Mon, 26 Apr 1999 23:06:53 +0000 (23:06 +0000)
* Makefile.am (TESTS): Added canon5.test.

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

index fed4884098529114d44b487cfc55d98d08223b54..805e28f5c977b6145be4d00fe0e5c0297181aaf8 100644 (file)
@@ -1,3 +1,8 @@
+1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * canon5.test (bin_PROGRAMS): New file.
+       * Makefile.am (TESTS): Added canon5.test.
+
 1999-04-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * libobj10.test: New file.
index 4d28b20addd166f163df1b762b5e4d36afa3d6b7..19e0852fc8f47f597009beb382ee86fbc778d508 100644 (file)
@@ -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 \
index 8d7106488467b1408370884c17c89c9f0b9d4cca..1704286117b3d4d1b0f84820cb2c14be6d58001e 100644 (file)
@@ -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 (executable)
index 0000000..cb4d80f
--- /dev/null
@@ -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