tests/defs


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 84a2f9c8 2002-01-20T21:00:31 * tests/defs: Export AUTOMAKE and ACLOCAL.
Alexandre Duret-Lutz 45c5938c 2002-01-09T08:52:09 * automake.texi (Complete, Macros, Options): Document the new style AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion. * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from AC_INIT if they are available there. Support a new call form where the only argument is an optional space-separated list of Automake options. * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove. (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS, _AM_IF_OPTION): New functions. * automake.in (AC_INIT_PATTERN): New variable. (global_options_line): Remove, use $seen_init_automake instead. (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE. Remove the AM_AUTOMAKE_OPTIONS handling. * configure.in: Modernize. * tests/defs (configure.in): Modernize. One third of the tests still overwrite the default configure.in and use an old AM_INIT_AUTOMAKE call, so that makes testing for both. * tests/nodefine.test, tests/nodefine2.test: New files. * tests/Makefile.am (TESTS): Add them.
Alexandre Duret-Lutz 57a6006e 2002-01-07T20:25:24 * configure.in (AUTOMAKE): Create m4/amversion.m4. * m4/amversion.in: New file. * m4/Makefile.am (m4data_DATA, EXTRA_DIST): Replace by ... (dist_m4data_DATA): ... this. (nodist_m4data_DATA, DISTCLEANFILES): Add amversion.m4. * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_CURRENT_AUTOMAKE_VERSION. * automake.in (seen_automake_version): New variable. (scan_autoconf_traces, scan_one_autoconf_file, scan_autoconf_files): Scan for AM_AUTOMAKE_VERSION and complain when the version used in aclocal.m4 differs from Automake's. * tests/defs (ACLOCAL): Look in ../m4 too. * tests/installsh.test (ACLOCAL): Likewise. * tests/installdir.test (installdirs-local): Run $ACLOCAL.
Alexandre Duret-Lutz 3ce01340 2001-12-26T08:22:06 * configure.in: Test for Autoconf >= 2.52. * tests/defs (needs_autoconf, has_autoconf): Delete definition. * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test, tests/cond4.test, tests/cond9.test, tests/cond16.test, tests/cond18.test, tests/cond19.test, tests/cond20.test, tests/confsub.test, tests/depcomp2.test, tests/depdist.test, tests/depend2.test, tests/dirname.test, tests/distname.test, tests/extra5.test, tests/install2.test, tests/lex3.test, tests/make.test, tests/nobase.test, tests/pr9.test, tests/pr87.test, tests/stamph2.test, tests/subdir5.test, tests/subdirbuiltsources.test, tests/subobj3.test, tests/subobj5.test, tests/subobj6.test, tests/substref.test, tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test, tests/yaccvpath.test: Do not use $needs_autoconf.
Alexandre Duret-Lutz 55acdb1e 2001-11-28T12:30:16 * tests/defs: Turn on shell traces when VERBOSE=x.
Alexandre Duret-Lutz cbc680db 2001-11-26T18:02:41 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other directory.
Alexandre Duret-Lutz 1ddfd2ff 2001-11-19T12:27:50 * tests/defs (aclocaldir): Check for existence of libtool.m4 and gettext.m4 if required.
Akim Demaille 4becb02d 2001-10-21T18:05:22 * tests/install.test: This test is an empty shell, do not run automake. * tests/Makefile.am (TESTS): Don't run it. * tests/defs (ACLOCAL): When using gettext, pass in the installed aclocaldir. * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake --add--missing. * tests/obsolete2.test: Remove, merged into... * tests/obsolete.test: here. Both aclocal and automake should complain.
Akim Demaille 8dc162ad 2001-10-21T18:03:20 * tests/defs (ACLOCAL): Point to the installed aclocaldir is libtool is required. * tests/lex.test: Run AC_INIT once. * tests/ldflags.test, tests/listval.test, tests/suffix2.test: Libtool is required. * tests/header.test: Built a correct configure.in. * tests/defun2.test (configure.in): Be a bit respectful with Autoconf, close the macro invocations. * tests/confdeps.test: Even when not using aclocal, aclocal.m4 must be correct. * automake.in (scan_autoconf_traces): Add support for AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL, AM_CONFIG_HEADER, AM_MAINTAINER_MODE. * tests/condincl.test (target): Better pattern, to avoid matching the definition of `target_alias' which is now properly discovered as an AC_SUBST by traces. * cond4.test: Better grep pattern: After all, why shouldn't TWO_FALSE be AC_SUBST properly. * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
Akim Demaille adb7a5ec 2001-10-20T11:15:36 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE arguments. Don't run AC_ARG_PROGRAM another time, it is required by AM_INIT_AUTOMAKE. * tests/aclocal.test: Work on the default configure.in * tests/config.test (configure.in): Don't AC_ARG_PROGRAM. First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER. Be realistic in testing: AC_INIT is required for Autoconf. Broken so called optimized tests break trace handling. * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test, * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test, * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test, * tests/colon.test, tests/colon2.test, tests/colon3.test, * tests/colon4.test, tests/colon5.test, tests/colon6.test, * tests/colon7.test, tests/cond.test, tests/cond2.test, * tests/cond3.test, tests/cond5.test, tests/conf2.test, * tests/confh.test, tests/confh2.test, tests/confh3.test, * tests/confh4.test, tests/config.test, tests/confsub.test, * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test, * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test, * tests/fpinstall.test, tests/header.test, tests/ldflags.test, * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test, * tests/libobj9.test, tests/output.test, tests/output2.test, * tests/output3.test, tests/output4.test, tests/parse.test, * tests/pr2.test, tests/recurs.test, tests/recurs2.test, * tests/remake.test, tests/remake2.test, tests/remake3.test, * tests/req.test, tests/scripts.test, tests/subdir.test, * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test, * tests/tagsub.test, tests/texinfo8.test, tests/version.test, * tests/version2.test: Add AC_INIT in `configure.in'.
Raja R Harinath 88655939 2001-08-08T21:43:59 Dissociate testsuite 'make' invocations from outer 'make'. * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL environment variables. * tests/cond16.test: Use '$MAKE -s', and avoid GNU make dependency. * tests/substref.test: Likewise.
Tom Tromey 54d9efaf 2001-06-15T01:02:11 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be> * tests/defs, tests/installsh.test: Properly support DOS-style paths.
Tom Tromey ba60cd83 2001-05-15T18:04:56 Fixes PR automake/175: * tests/target-cflags.test: Use $needs_gnu_make. * tests/exsource.test: Use $needs_gnu_make. * tests/make.test: Require GNU make. * tests/defs (needs_gnu_make): Compute.
Tom Tromey 9618da20 2001-05-14T04:48:45 2001-05-13 Tom Tromey <tromey@redhat.com> * tests/defs: Find files to copy in lib/. * automake.in (perllibdir): Set to Automake directory. * ansi2knr.c, ansi2knr.1: Removed. * Makefile.am (dist_am_DATA): Removed. (amdir): Removed. (maintainer-check): Look for lib/am/*.am. Expect 28 lines of diffs. (scriptdir): Removed. (dist_script_DATA): Likewise. (install-data-hook): Likewise. (installcheck-local): Likewise. (TAGS_FILES): Removed amfiles. (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1. * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and point it to the right directory. * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am, compile.am, configure.am, data.am, dejagnu.am, depend.am, depend2.am, distdir.am, footer.am, header-vars.am, header.am, install.am, java.am, lang-compile.am, lex.am, library.am, libs.am, libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am, mans.am, multilib.am, program.am, progs.am, python.am, remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am, texibuild.am, texinfos.am, yacc.am: Moved to lib/am/. * configure.in (AC_OUTPUT): Added lib/am/Makefile. (AUTOMAKE): Use --libdir, not --amdir. Ues AC_CONFIG_AUX_DIR. * lib/Makefile.am (SUBDIRS): Added `am'. (scriptdir): New macro. (dist_script_DATA): Likewise. (dist_pkgdata_DATA): Likewise. (install-data-hook): New target. (installcheck-local): Likewise. * lib/am/Makefile.in: New file. * lib/am/Makefile.am: Removed everything except amdir and dist_am_DATA. 2001-05-13 Akim Demaille <akim@epita.fr> * automake.in ($pkgdata_dir): Rename as... ($libdir): this. ($am_dir): Remove, replace it's uses with $libdir. (&parse_arguments): Replace --amdir with --libdir. * automake.texi (Invoking Automake): Document --libdir, not --amdir. * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
Tom Tromey 62a0fb28 2001-05-10T05:39:13 * automake.in (read_am_file): Correctly compute $saw_bk. (scan_autoconf_files): Ensure configure_dist_common is always set. * tests/defs (AUTOMAKE): Added --Werror.
Akim Demaille 0ffa422b 2001-05-03T08:21:05 Case insensitive FS choke on Automake/ vs automake. Reported by Tim Van Holder. * Automake/: Move in... * lib/: this new directory.
Akim Demaille 27251165 2001-04-27T10:45:14 * Automake/: New directory. * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct. * automake.in (Language): Use Automake::Struct. * tests/defs: Adjust to find Struct.
Tom Tromey 6ce0a7d2 2001-04-11T04:13:08 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
Tom Tromey 5b5a3b9c 2001-04-10T20:47:20 2001-04-10 Derek R. Price <dprice@collab.net> * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
Akim Demaille f3d09a31 2001-04-10T09:21:00 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special variables. Specify to the caller whether $regen_aclocal_m4. (&handle_configure): Adjust. Transform `REGEN-ACLOCAL-M4'. * configure.am: Use it. * tests/defs (me): New. * tests/configdeps.test: New.
Akim Demaille e9998a57 2001-04-09T09:07:47 * tests/defs, tests/depend3.test: Remove useless code.
Tom Tromey f61d5113 2001-03-04T21:05:09 * tests/yaccvpath.test: No need to remove dummy files. * tests/subobj3.test: No need to remove dummy files. * tests/pr9.test: No need to remove dummy files. * tests/pr87.test: No need to remove dummy files. * tests/pr19.test: No need to remove dummy files. * tests/install2.test: No need to remove dummy files. * tests/defs: Actually copy in install-sh, mkinstalldirs, missing, and depcomp.
Akim Demaille 539e1d30 2001-02-21T08:28:03 * automake.in (&handle_tests_dejagnu): Move the definition of a default `site.exp' into... * dejagnu.am (site.exp): here. Use DOS compliant file names.
Akim Demaille dc9a4021 2001-01-26T14:21:37 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in clear. * m4/init.m4: Likewise. * m4/sanity.m4: s/conftestfile/conftest.file/.
Tom Tromey 82ad7e39 2000-03-19T23:38:10 * libobj2.test: Put depcomp into subdir. * confsub.test: Put depcomp into subdir. * defs: Always copy `depcomp'.
Tom Tromey bcd70441 2000-03-19T23:32:55 * defs: Correctly create `depcomp'. * nodepcomp.test: Remove depcomp.
Tom Tromey 2bdfa584 2000-03-19T21:53:11 For PR automake/45: * defs, acoutnoq.test, texinfo8.test, tagsub.test, subdir2.test, subdir.test, scripts.test, remake2.test, remake.test, pr2.test, parse.test, output4.test, output3.test, output2.test, output.test, libobj10.test, libobj9.test, libobj8.test, libobj7.test, libobj6.test, libobj2.test, libobj.test, fpinstall.test, fpinst2.test, depend3.test, confsub.test, config.test, confh4.test, confh3.test, confh2.test, confh.test, conf2.test, colon7.test, colon6.test, colon5.test, colon4.test, colon3.test, colon2.test, colon.test, acouttbs.test, acoutqnl.test, acoutput.test: Put AM_INIT_AUTOMAKE into configure.in.
Tom Tromey d846af7c 2000-01-08T19:14:57 * ansi.test, texinfo.test, empty.test, insh2.test, texinfo8.test: Remove @SET_MAKE@ before using Makefile. * backsl2.test: Don't add AC_PROG_MAKE_SET in configure.in; already done. * defs: Put AC_PROG_MAKE_SET in configure.in. * acoutnoq.test, acoutput.test, acoutqnl.test, acouttbs.test, acouttbs2.test, colon.test, colon2.test, colon3.test, colon4.test, colon5.test, colon6.test, colon7.test, conf2.test, confh.test, confh2.test, confh3.test, confh4.test, config.test, depend3.test, discover.test, fpinst2.test, gnits.test, ldadd.test, libobj.test, libobj10.test, libobj2.test, libobj6.test, libobj7.test, libobj8.test, libobj9.test, output.test, output2.test, output3.test, output4.test, output5.test, package.test, parse.test, pr2.test, remake.test, remake2.test, scripts.test, stamph.test, texinfo8.test: Likewise.
Tom Tromey e9408561 1999-12-19T08:54:22 1999-12-19 Pavel Roskin <pavel_roskin@geocities.com> * tests/defs: add all permissions to testSubDir before removing it.
Tom Tromey 783c5b6d 1999-11-23T05:09:14 * defs: Never hard link `depcomp'. From Pavel Roskin
Tom Tromey 9ae48df8 1999-11-21T21:35:41 Merged from user-dep-gen-branch.
Tom Tromey d2e79b5f 1999-04-10T22:51:16 * defs: Ensure srcdir is always absolute.
Tom Tromey 1de3ff47 1998-09-26T19:06:21 * aclocal.test: Put AM_INIT_AUTOMAKE into configure.in. * library.test: Use AC_EXEEXT. * texinfo5.test: Use AC_EXEEXT. * Many files: use AC_PROG_INSTALL, not AM_PROG_INSTALL.
Tom Tromey aae29754 1997-04-09T01:36:35 tests respect MAKE
Tom Tromey 09bb43da 1997-03-19T05:37:03 fixed up "missing" support
Tom Tromey 20b84930 1996-12-04T18:04:51 Perl 4 fixes
Tom Tromey ae0c9a76 1996-08-05T22:45:55 Better aclocal/AM_ support
Tom Tromey 52aa7739 1996-07-28T17:54:08 Include aclocal
Tom Tromey 08818d2d 1996-05-18T00:29:32 Added dist-zip. Bug fixes. Check for PACKAGE, VERSION
Tom Tromey f478789b 1996-05-16T15:47:14 Fixed bugs
Tom Tromey 5f087b50 1996-03-02T05:54:34 Bug fixes
Tom Tromey 5945f033 1996-02-27T17:57:37 Updated all tests
Tom Tromey d739f26b 1996-02-11T06:11:19 Added some -I options. More bug fixes. More tests.
Tom Tromey e24e3bdc 1996-02-11T00:35:29 Beginnings of test suite