From 01b3732240778035aea9fabcace4daf14a2e728b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 9 Nov 1998 21:07:19 +0000 Subject: [PATCH] * pluseq3.test: New file. * Makefile.am (TESTS): Added pluseq3.test. --- tests/ChangeLog | 3 +++ tests/Makefile.am | 6 +++--- tests/Makefile.in | 6 +++--- tests/pluseq3.test | 30 ++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+), 6 deletions(-) create mode 100755 tests/pluseq3.test diff --git a/tests/ChangeLog b/tests/ChangeLog index 549ba203..724f8df1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,8 @@ 1998-11-09 Tom Tromey + * pluseq3.test: New file. + * Makefile.am (TESTS): Added pluseq3.test. + * pluseq2.test: New file. * Makefile.am (TESTS): Added pluseq2.test. diff --git a/tests/Makefile.am b/tests/Makefile.am index 4c1c8d32..86f504ca 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -28,9 +28,9 @@ link_f_cxx.test link_f_only.test lisp.test mdate.test mdate2.test \ mkinst2.test mkinstall.test noinst.test number.test objc.test \ obsolete.test order.test outdir.test output.test output2.test \ output3.test output4.test output5.test package.test parse.test \ -pluseq.test pluseq2.test prefix.test primary.test primary2.test \ -proginst.test ranlib.test recurs.test recurs2.test remake.test \ -remake2.test req.test rulepat.test scripts.test seenc.test \ +pluseq.test pluseq2.test pluseq3.test prefix.test primary.test \ +primary2.test proginst.test ranlib.test recurs.test recurs2.test \ +remake.test remake2.test req.test rulepat.test scripts.test seenc.test \ sinclude.test spell.test spell2.test spell3.test spelling.test \ stamph.test stdlib.test subdir.test subdir2.test subst.test \ symlink.test syntax.test tags.test tagsub.test target.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index a7874afe..6dee4a05 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -91,9 +91,9 @@ link_f_cxx.test link_f_only.test lisp.test mdate.test mdate2.test \ mkinst2.test mkinstall.test noinst.test number.test objc.test \ obsolete.test order.test outdir.test output.test output2.test \ output3.test output4.test output5.test package.test parse.test \ -pluseq.test pluseq2.test prefix.test primary.test primary2.test \ -proginst.test ranlib.test recurs.test recurs2.test remake.test \ -remake2.test req.test rulepat.test scripts.test seenc.test \ +pluseq.test pluseq2.test pluseq3.test prefix.test primary.test \ +primary2.test proginst.test ranlib.test recurs.test recurs2.test \ +remake.test remake2.test req.test rulepat.test scripts.test seenc.test \ sinclude.test spell.test spell2.test spell3.test spelling.test \ stamph.test stdlib.test subdir.test subdir2.test subst.test \ symlink.test syntax.test tags.test tagsub.test target.test \ diff --git a/tests/pluseq3.test b/tests/pluseq3.test new file mode 100755 index 00000000..f6d935ee --- /dev/null +++ b/tests/pluseq3.test @@ -0,0 +1,30 @@ +#! /bin/sh + +# Another `+=' test with conditionals. + +. $srcdir/defs || exit 1 + +echo 'AM_CONDITIONAL(CHECK, true)' >> configure.in + +cat > Makefile.am << 'END' + +if CHECK +data_DATA = zar +endif + +if CHECK +data_DATA += \ + doz +else +data_DATA += dog +endif + +END + +: > zar +: > doz +: > dog + +$AUTOMAKE || exit 1 +grep '= zar *doz' Makefile.in || exit 1 +fgrep '= dog' Makefile.in -- 2.43.5