From c0b87ab9d526e61e67798bd96c9b04e40ccdc631 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 27 Sep 1998 19:10:19 +0000 Subject: [PATCH] * Makefile.am (TESTS): Added parse.test. * parse.test: New file. --- tests/ChangeLog | 5 +++++ tests/Makefile.am | 2 +- tests/Makefile.in | 2 +- tests/parse.test | 27 +++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) create mode 100755 tests/parse.test diff --git a/tests/ChangeLog b/tests/ChangeLog index fbdaf8c2..29918123 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +Sun Sep 27 20:01:20 1998 Tom Tromey + + * Makefile.am (TESTS): Added parse.test. + * parse.test: New file. + Sat Sep 26 19:17:43 1998 Tom Tromey * aclocal.test: Put AM_INIT_AUTOMAKE into configure.in. diff --git a/tests/Makefile.am b/tests/Makefile.am index aa3f33c9..83a53a99 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -32,7 +32,7 @@ texinfo5.test aclocali.test texinfo6.test condman2.test colon4.test \ java.test sinclude.test javaprim.test javasubst.test aclocalii.test \ lex2.test libobj8.test version3.test instdata.test exdir2.test \ colon5.test library.test syntax.test cond4.test cond5.test recurs.test \ -ansi3.test cond6.test colon6.test texinfo7.test +ansi3.test cond6.test colon6.test texinfo7.test parse.test EXTRA_DIST = defs $(TESTS) diff --git a/tests/Makefile.in b/tests/Makefile.in index 885d166c..b73d7011 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -95,7 +95,7 @@ texinfo5.test aclocali.test texinfo6.test condman2.test colon4.test \ java.test sinclude.test javaprim.test javasubst.test aclocalii.test \ lex2.test libobj8.test version3.test instdata.test exdir2.test \ colon5.test library.test syntax.test cond4.test cond5.test recurs.test \ -ansi3.test cond6.test colon6.test texinfo7.test +ansi3.test cond6.test colon6.test texinfo7.test parse.test EXTRA_DIST = defs $(TESTS) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/tests/parse.test b/tests/parse.test new file mode 100755 index 00000000..fb7cec51 --- /dev/null +++ b/tests/parse.test @@ -0,0 +1,27 @@ +#! /bin/sh + +# Test to make sure backslash-newline is treated as whitespace. + +. $srcdir/defs || exit 1 + +cat > configure.in << 'END' +PACKAGE=nonesuch +VERSION=nonesuch +AC_PROG_CC +AC_ARG_PROGRAM +AC_PROG_INSTALL +AC_PROG_RANLIB +AC_OUTPUT(Makefile) +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = zot +zot_SOURCES = \ +zar.c\ +doz.c +END + +$AUTOMAKE || exit 1 + +fgrep zar.cdoz Makefile.in && exit 1 +exit 0 -- 2.43.5