From 7a45212ca61aa5bbf9a2ef766c2474a5d4a9f3b3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 11 Mar 1999 22:28:07 +0000 Subject: [PATCH] * lex3.test: New file. * Makefile.am (TESTS): Added lex3.test. --- tests/ChangeLog | 5 +++++ tests/Makefile.am | 22 +++++++++++----------- tests/Makefile.in | 11 ++++++----- tests/lex3.test | 24 ++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 16 deletions(-) create mode 100755 tests/lex3.test diff --git a/tests/ChangeLog b/tests/ChangeLog index f3f1bcf2..02557dde 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-03-11 Tom Tromey + + * lex3.test: New file. + * Makefile.am (TESTS): Added lex3.test. + 1999-03-01 Tom Tromey * ansi3.test: Use no-dependencies option to avoid GNU make diff --git a/tests/Makefile.am b/tests/Makefile.am index 5e0da6ee..49fecfa5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -23,17 +23,17 @@ fpinst2.test fpinstall.test gnits.test implicit.test include.test \ info.test insh.test insh2.test install.test installsh.test \ instdata.test instexec.test insthook.test instman.test interp.test \ interp2.test java.test javaprim.test javasubst.test ldadd.test \ -lex.test lex2.test libobj.test libobj2.test libobj3.test libobj4.test \ -libobj5.test libobj6.test libobj7.test libobj8.test library.test \ -link_c_cxx.test link_f_c.test link_f_c_cxx.test link_f_cxx.test \ -link_f_only.test lisp.test mdate.test mdate2.test mdate3.test \ -mkinst2.test mkinstall.test noinst.test number.test objc.test \ -obsolete.test obsolete2.test order.test outdir.test output.test \ -output2.test output3.test output4.test output5.test package.test \ -parse.test pluseq.test pluseq2.test pluseq3.test pluseq4.test \ -pluseq5.test ppf77.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 \ +lex.test lex2.test lex3.test libobj.test libobj2.test libobj3.test \ +libobj4.test libobj5.test libobj6.test libobj7.test libobj8.test \ +library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test \ +link_f_cxx.test link_f_only.test lisp.test mdate.test mdate2.test \ +mdate3.test mkinst2.test mkinstall.test noinst.test number.test \ +objc.test obsolete.test obsolete2.test order.test outdir.test \ +output.test output2.test output3.test output4.test output5.test \ +package.test parse.test pluseq.test pluseq2.test pluseq3.test \ +pluseq4.test pluseq5.test ppf77.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 a8efffa4..b3ca410f 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am +# Makefile.in generated automatically by automake 1.4a from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -46,9 +46,10 @@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_FLAG = transform = @program_transform_name@ NORMAL_INSTALL = : @@ -65,7 +66,7 @@ VERSION = @VERSION@ AUTOMAKE_OPTIONS = gnits -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 badline.test badprog.test block.test canon.test canon2.test canon3.test canon4.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 cond2.test cond3.test cond4.test cond5.test cond6.test cond7.test condman.test condman2.test conf2.test confdist.test confh.test confh2.test confh3.test config.test confincl.test confsub.test confvar.test confvar2.test copy.test cxxcpp.test cxxlibobj.test cxxlink.test cxxnoc.test cxxo.test cygwin32.test defun.test defun2.test dejagnu.test depacl.test depacl2.test depend.test depend2.test depend3.test discover.test distdir.test dup.test dup2.test else.test empty.test error.test exdir.test exdir2.test exsource.test ext.test extra.test extra3.test extra4.test flibs.test fnoc.test fo.test fonly.test fpinst2.test fpinstall.test gnits.test implicit.test include.test info.test insh.test insh2.test install.test installsh.test instdata.test instexec.test insthook.test instman.test interp.test interp2.test java.test javaprim.test javasubst.test ldadd.test lex.test lex2.test libobj.test libobj2.test libobj3.test libobj4.test libobj5.test libobj6.test libobj7.test libobj8.test library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test link_f_cxx.test link_f_only.test lisp.test mdate.test mdate2.test mdate3.test mkinst2.test mkinstall.test noinst.test number.test objc.test obsolete.test obsolete2.test order.test outdir.test output.test output2.test output3.test output4.test output5.test package.test parse.test pluseq.test pluseq2.test pluseq3.test pluseq4.test pluseq5.test ppf77.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 texinfo.test texinfo2.test texinfo3.test texinfo4.test texinfo5.test texinfo6.test texinfo7.test unused.test version.test version2.test version3.test vpath.test vtexi.test vtexi2.test whoami.test xsource.test yacc.test yaccpp.test +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 badline.test badprog.test block.test canon.test canon2.test canon3.test canon4.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 cond2.test cond3.test cond4.test cond5.test cond6.test cond7.test condman.test condman2.test conf2.test confdist.test confh.test confh2.test confh3.test config.test confincl.test confsub.test confvar.test confvar2.test copy.test cxxcpp.test cxxlibobj.test cxxlink.test cxxnoc.test cxxo.test cygwin32.test defun.test defun2.test dejagnu.test depacl.test depacl2.test depend.test depend2.test depend3.test discover.test distdir.test dup.test dup2.test else.test empty.test error.test exdir.test exdir2.test exsource.test ext.test extra.test extra3.test extra4.test flibs.test fnoc.test fo.test fonly.test fpinst2.test fpinstall.test gnits.test implicit.test include.test info.test insh.test insh2.test install.test installsh.test instdata.test instexec.test insthook.test instman.test interp.test interp2.test java.test javaprim.test javasubst.test ldadd.test lex.test lex2.test lex3.test libobj.test libobj2.test libobj3.test libobj4.test libobj5.test libobj6.test libobj7.test libobj8.test library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test link_f_cxx.test link_f_only.test lisp.test mdate.test mdate2.test mdate3.test mkinst2.test mkinstall.test noinst.test number.test objc.test obsolete.test obsolete2.test order.test outdir.test output.test output2.test output3.test output4.test output5.test package.test parse.test pluseq.test pluseq2.test pluseq3.test pluseq4.test pluseq5.test ppf77.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 texinfo.test texinfo2.test texinfo3.test texinfo4.test texinfo5.test texinfo6.test texinfo7.test unused.test version.test version2.test version3.test vpath.test vtexi.test vtexi2.test whoami.test xsource.test yacc.test yaccpp.test EXTRA_DIST = defs $(TESTS) @@ -103,7 +104,7 @@ distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -158,7 +159,7 @@ uninstall: uninstall-am all-am: Makefile all-redirect: all-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install installdirs: diff --git a/tests/lex3.test b/tests/lex3.test new file mode 100755 index 00000000..1fa96718 --- /dev/null +++ b/tests/lex3.test @@ -0,0 +1,24 @@ +#! /bin/sh + +# Test to make sure that lex source generates correct clean rule. +# From Ralf Corsepius. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +AM_PROG_LEX +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = zot +zot_SOURCES = joe.l +LDADD = @LEXLIB@ +END + +: > joe.l + +$AUTOMAKE || exit 1 + +fgrep joel Makefile.in && exit 1 +exit 0 -- 2.43.5