tests


Log

Author Commit Date CI Message
Alexandre Duret-Lutz 80b24bbd 2001-12-14T16:25:37 * configure.in: Bump version to 1.5b. * lib/config.sub, lib/config.guess: New versions from FSF. * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
Alexandre Duret-Lutz 89598be4 2001-12-06T19:23:24 * tests/confsub.test, tests/depdist.test, tests/extra5.test, tests/nobase.test, tests/stamph2.test, tests/subdirbuiltsources.test: Require Autoconf.
Alexandre Duret-Lutz 23266a96 2001-12-05T17:13:41 * automake.in (handle_dist): Distribute common files which do not exist but are target of a Makefile rule. * automake.texi (Dist): Update. * test/builtcommon3.test: New file. * test/Makefile.am (TESTS): Add distcommon3.test.
Alexandre Duret-Lutz 55acdb1e 2001-11-28T12:30:16 * tests/defs: Turn on shell traces when VERBOSE=x.
Alexandre Duret-Lutz b1c32695 2001-11-26T18:05:43 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not before.
Alexandre Duret-Lutz 7b061878 2001-11-26T18:04:19 * tests/lex3.test: Require GNU Make.
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.
Alexandre Duret-Lutz e06d3e2e 2001-11-16T10:32:42 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the set of accepted characters in extensions. (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for internall use. * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
Alexandre Duret-Lutz 62c9742d 2001-11-16T10:30:16 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN to match suffix rules for known extensions, or call accept_extensions on suffixe rules for unknown extensions. (var_SUFFIXES_trigger): New function. (macro_define): Call var_VAR_trigger when $VAR is updated. * tests/suffix6.test, tests/suffix7.test: New files. * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
Alexandre Duret-Lutz 6ca00367 2001-11-09T17:39:46 * lib/am/distdir.am (distdir): Also look for directory in build directory first. (See 2001-05-14.) * tests/Makefile.am (TESTS): Add extra5.test. * tests/extra5.test: New file. From Dean Povey.
Alexandre Duret-Lutz b0c1ea15 2001-11-09T17:17:47 Fix for distcommon2.test: * automake.in (automake_needs_to_reprocess_all_files): New variable. ("main"): Process all Makefiles a second time if $automake_needs_to_reprocess_all_files is set. (maybe_push_required_file): Return 1 or 0 whether the file is pushed or not. (require_file_internal): Set $automake_needs_to_reprocess_all_files if an added file can't be pushed. * test/distcommon2.test: New file. * test/Makefile.am (TESTS): Add distcommon2.test. From Pavel Roskin.
Alexandre Duret-Lutz 48099901 2001-11-09T16:25:03 Fix for nobase.test: * lib/am/header-vars.am (install_sh_DATA): New. * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead of $(INSTALL_DATA) for nobase_ targets. * lib/am/lisp.am (install-%DIR%LISP): Likewise. * lib/am/python.am (install-%DIR%PYTHON): Likewise. * tests/nobase.test (configure.in): Append AC_OUTPUT. * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
Akim Demaille e1f42921 2001-11-08T17:05:04 * automake.texi: Remove references to stamp-h.in, which no longer exist. * tests/stamph2.test: Formatting change.
Alexandre Duret-Lutz 72b227be 2001-11-08T15:25:58 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in. Don't use -Wno-error.
Alexandre Duret-Lutz 6ed19408 2001-11-08T08:52:31 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error. * tests/suffix5.test ($AUTOMAKE): Likewise.
Alexandre Duret-Lutz a9277175 2001-11-05T17:41:00 * automake.in (libtool_files, libtool_sometimes, common_files, common_sometimes, config_aux_path): Use qw to simplify definition. (scan_texinfo_file) <clean_suffixes, predefined_index, hidden_index>: Likewise. (scan_autoconf_traces) <traced>: Likewise. (scan_one_autoconf_file, check_gnu_standards, resolve_linker): Likewise.
Alexandre Duret-Lutz 1e97df58 2001-11-05T17:32:09 * automake.in (handle_single_transform_list): Pass $nonansi_obj to derive_suffix. Don't use an hardcoded 'o' for object extensions. (derive_suffix): Accept $OBJ as a second argument, don't hardcode 'o'. * tests/suffix5.test: New test. * tests/Makefile.am (TESTS): Add suffix5.test. Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
Alexandre Duret-Lutz 76c0890b 2001-11-05T17:26:55 * automake.in (handle_single_transform_list): Don't call $lang->target_hook for undefinied langages. * tests/suffix4.test: New test. * tests/Makefile.am (TESTS): Add suffix4.test. Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
Akim Demaille c931eeb8 2001-11-05T09:24:06 * automake.in (@common_sometimes, &handle_configure): No longer use stamp-hin. * lib/am/remake-hdr.am: Adjust. * tests/confh.test: There is no stamp.hin.
Akim Demaille 6765f660 2001-10-28T14:00:28 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test, * tests/acouttbs.test, tests/auxdir.test, tests/colon.test, * tests/colon2.test, tests/colon3.test, tests/colon4.test, * tests/colon5.test, tests/colon6.test, tests/colon7.test, * tests/conf2.test, tests/config.test, tests/depcomp.test, * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test, * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test, * tests/libobj8.test, tests/output.test, tests/output2.test, * tests/output3.test, tests/output4.test, tests/output5.test, * tests/pr2.test, tests/remake.test, tests/remake2.test, * tests/remake3.test, tests/scripts.test, tests/stamph.test, * tests/subdir.test, tests/subdir2.test, tests/subdir4.test, * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION assignments.
Akim Demaille 2b1e1df2 2001-10-26T10:01:05 * tests/stamph2.test: Strengthen. * tests/confh2.test, tests/confh3.test: Remove. These are bad tests: they don't check the effects, but some internal details in Makefile. And they are covered by stamph2.test.
Akim Demaille 60a93569 2001-10-26T09:56:43 * automake.in (&handle_configure): Use the config.status 2.50 invocation syntax for config files and headers. autoheader needs the name of the file to create, not from what it must be created, hence CONFIG_HEADER_FULL is $one_name, not $one_fullname. * lib/am/configure.am, lib/am/remake-hdr.am: Likewise. * tests/confsub.test (SUBDIRS): Adjust to the new config.status invocation. Strengthen: Use the non-default config.hin source. Strengthen: Make sure config.h is properly updated when config.hin is changed.
Akim Demaille ca81f79d 2001-10-24T12:00:56 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is stamp-h1.
Akim Demaille 63ec51e3 2001-10-24T09:04:18 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can appear in Makefile.in in the clean rule. * tests/cxxansi.test: Adjust.
Akim Demaille f413abc9 2001-10-21T18:09:50 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/. AC_OUTPUT a Makefile.
Akim Demaille f9603fa3 2001-10-21T18:05:38 * m4/regex.m4: Use AC_LIBOBJ. Require 2.50, and use AC_LIBSOURCES freely. * tests/asm.tests: Formatting changes. Exercise AM_PROG_AS.
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 f6fe24f7 2001-10-21T18:05:03 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs for symbols which cannot be Make macro names. (scan_one_autoconf_file): `$here' is new. Use it consistently instead of `1' to remember a token was seen.
Akim Demaille 5f0839d8 2001-10-21T18:04:33 * tests/subdircond.test: Requires gettext. * tests/libobj.test, tests/libobj10.test, tests/libobj2.test, * tests/libobj6.test, tests/libobj9.test, tests/libtool.test, * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test, * tests/nolink.test, tests/obsolete.test, tests/pr72.test, * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test: Produce valid configure.in, use aclocal appropriately, declare when libtool is required.
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.
Tom Tromey 256a57be 2001-10-20T19:12:34 * tests/Makefile.am (TESTS): Added condd.test. (XFAIL_TESTS): Added condd.test. * tests/condd.test: New file.
Akim Demaille 9080753a 2001-10-20T11:18:06 * automake.in (&scan_autoconf_traces): Add support for AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and AC_CONFIG_AUX_DIR. * tests/alpha.test (configure.in): Automake wants a Makefile.
Akim Demaille 3d8552ce 2001-10-20T11:17:33 * tests/alpha.test (configure.in): Create, don't append. A single AC_INIT is enough.
Akim Demaille 885d8e29 2001-10-20T11:17:18 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test, * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test, * tests/alpha.test, tests/ansi.test, tests/asm.test, * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test, * tests/badline.test, tests/block.test, tests/canon2.test, * tests/check.test, tests/checkall.test, tests/clean.test, * tests/colneq.test, tests/colneq2.test, tests/colon.test, * tests/colon2.test, tests/colon3.test, tests/colon4.test, * tests/colon5.test, tests/colon6.test, tests/colon7.test, * tests/comment.test, tests/comment3.test, tests/cond.test, * tests/cond2.test, tests/cond6.test, tests/cond7.test, * tests/condincl.test, tests/condincl2.test, tests/condman.test, * tests/condman2.test, tests/confdist.test, tests/confh.test, * tests/confh2.test, tests/confh3.test, tests/confvar.test, * tests/confvar2.test, tests/copy.test, tests/ctarget1.test, * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test, * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test, * tests/else.test, tests/empty.test, tests/exdir.test, * tests/exdir2.test, tests/extra3.test, tests/extra4.test, * tests/flibs.test, tests/fnoc.test, tests/fo.test, * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test, * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test, * tests/include.test, tests/info.test, tests/insh.test, * tests/insh2.test, tests/install.test, tests/installsh.test, * tests/instdata.test, tests/instdata2.test, tests/instexec.test, * tests/insthook.test, tests/instman.test, tests/instman2.test, * tests/java.test, tests/javaprim.test, tests/javasubst.test, * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test, * tests/man.test, tests/mclean.test, tests/mdate.test, * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test, * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test, * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test, * tests/outdir.test, tests/output.test, tests/output2.test, * tests/output3.test, tests/output4.test, tests/output5.test, * tests/package.test, tests/pluseq.test, tests/pluseq2.test, * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test, * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test, * tests/primary.test, tests/proginst.test, tests/python.test, * tests/remake.test, tests/remake2.test, tests/remake3.test, * tests/rulepat.test, tests/scripts.test, tests/seenc.test, * tests/sinclude.test, tests/spell.test, tests/spell3.test, * tests/spelling.test, tests/stamph.test, tests/subdir.test, * tests/subdir2.test, tests/subdircond.test, tests/subst.test, * tests/symlink.test, tests/symlink2.test, tests/symlink3.test, * tests/syntax.test, tests/tags.test, tests/tagsub.test, * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test, * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test, * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test, * tests/texinfo9.test, tests/vars.test, tests/vartar.test, * tests/version.test, tests/version2.test, tests/version3.test, * tests/version4.test, tests/vpath.test, tests/vtexi.test, * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
Akim Demaille b49a92e0 2001-10-20T11:15:56 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test, * tests/acouttbs.test, tests/asm.test, tests/colon.test, * tests/colon2.test, tests/colon3.test, tests/colon4.test, * tests/colon5.test, tests/colon6.test, tests/colon7.test, * tests/conf2.test, tests/confh.test, tests/confh2.test, * tests/confh3.test, tests/confh4.test, tests/config.test, * tests/confsub.test, tests/depend3.test, tests/discover.test, * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test, * tests/header.test, tests/ldadd.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/mdate4.test, tests/obsolete.test, * tests/output.test, tests/output2.test, tests/output3.test, * tests/output4.test, tests/output5.test, tests/package.test, * tests/parse.test, tests/pr2.test, tests/remake.test, * tests/remake2.test, tests/remake3.test, tests/scripts.test, * tests/stamph.test, tests/subdir.test, tests/subdir2.test, * tests/subdir4.test, tests/subdirbuiltsources.test, * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test, * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation since AM_INIT_AUTOMAKE requires them.
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'.
Akim Demaille 26ac7767 2001-10-19T17:07:03 * automake.in (&read_main_am_file): s/generated automatically/ generated/. Insert @configure_input@, since 2.50 no longer output this automatically for Makefiles.
Alexandre Duret-Lutz 0c8f544f 2001-10-17T17:20:50 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test. * tests/nobase.test: New file. Based on a bug report from Martin Frydl <martin@idoox.com>.
Akim Demaille 7abbcbd1 2001-10-15T07:52:18 * automake.in (&variable_conditions): Be deterministic and Perl version independent: sort the result. (&variable_output, &variable_pretty_output): Sort all the @conds, not only when defaulted. * tests/cond3.test: Adjust.
Akim Demaille efeadbc5 2001-10-15T07:51:49 * aclocal.in: Use Automake::General and Automake::XFile. Use find_configure_ac. Output the Emacs tags for Autoconf mode selection.
Akim Demaille 51ed8460 2001-10-10T13:05:13 Do not use Autoconf internals. * tests/dirname.test: Don't use AC_PLAIN_SCRIPT. * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not m4_regexp and m4_patsubst, since the latter are reserved for ERE macro in GNU M4 1.5.
Alexandre Duret-Lutz 099a42a5 2001-09-25T17:13:16 * aclocal.in (obsolete_macros): Update AM_EXEEXT message. * automake.in (obsolete_macros): Likewise. (seen_objext): Remove (unused). (scan_one_autoconf_file): Don't handle AC_OBJEXT. * lib/am/header-vars.am (EXEEXT, OBJEXT, PATH_SEPARATOR): New variables. * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT. * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
Akim Demaille 87a415ec 2001-09-22T16:29:23 * configure.in, NEWS: Bump to 1.5a. Require 2.52.
Tom Tromey b690e05d 2001-08-28T04:45:20 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test, tests/cond4.test, tests/cond16.test, tests/cond18.test, tests/cond19.test, tests/depcomp2.test, tests/depend2.test, tests/lex3.test, tests/pr87.test, tests/subobj3.test, tests/substref.test: Clear CFLAGS.
Tom Tromey 9acd2b5d 2001-08-28T04:30:44 * tests/yacc7.test: Use test -f, not test -e.
Richard Boulton 725b26a2 2001-08-23T15:05:36 * tests/yacc7.test: Actually add this file: was accidentally omitted.
Tom Tromey bd1ba61a 2001-08-23T05:00:34 2001-08-22 Richard Boulton <richard@tartarus.org> Tom Tromey <tromey@redhat.com> * automake.in (lang_yacc_target_hook): Make header file depend on .c file, not .y file. * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule. * tests/yacc7.test: New file. * tests/Makefile.am (TESTS): Added yacc7.test.
Tom Tromey 19a9e5eb 2001-08-18T20:21:03 * tests/cond3.test: Use portable sed expression. From Richard Boulton.
Richard Boulton 452a58f2 2001-08-13T09:37:49 * automake.in (handle_source_transform): Call define_objects_from_sources() instead of calling variable_value_as_list(), handle_single_transform_list() and define_pretty_variable() directly. (handle_single_transform_list): Add $topparent parameter, used for error messages. Improved error message. (define_objects_from_sources): New function. (subobjname): New function. (variable_conditions_recursive): New name for variable conditions. (variable_value_as_list_recursive): New name for variable_value_as_list. (variable_value_as_list_worker): Renamed to ... (variable_value_as_list_recursive_worker): ... this. (variable_conditions_sub): Renamed to ... (variable_conditions_recursive_sub): ... this. (variable_conditions): Rewritten: now doesn't recurse subvariables. (variable_value_as_list): Rewritten: now doesn't recurse subvariables. (substfroms): New global. (substtos): New global. (substnums): New global. * tests/cond3.test: Update to work with new method of defining _OBJECTS. * tests/cond4.test: Update to work with new method of defining _OBJECTS. * tests/sourcesub2.test: New test. * tests/Makefile.am (TEST): Added sourcesub2.test.
Tom Tromey 80b69b2a 2001-08-11T21:31:43 * configure.in: Upped to 1.4s.
Richard Boulton a59182c8 2001-08-11T00:30:28 * automake.in (handle_single_transform_list): Use new global, `%linkers_used', to store the linkers used, rather than an internal variable. Enables correct linker to be calculated across a group of calls to &handle_single_transform_list. Return only list of objects, since linker to be used is now externally determined. (handle_source_transform): adapted for new calling conventions of handle_single_transform_list. Calls resolve_linker() on a set of all the linkers used for any prefix, rather than for each prefix in turn. (linkers_used): New global. * tests/link_dist.test: New test. * tests/Makefile.am (TESTS): Added link_dist.test.
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.
Richard Boulton acb2e402 2001-08-08T17:42:26 2001-08-08 Richard Boulton <richard@tartarus.org> * tests/cond18.test: New file. * tests/cond19.test: New file. * tests/cond20.test: New file. * tests/cond4.test: Updated to check the generated _OBJECTS more thoroughly. * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and cond20.test
Richard Boulton 2b74c0b6 2001-08-08T16:44:05 * automake.in (file_contents_internal): if a rule is conditionally defined, define the standard automake definition for it for those conditions which are not conditionally defined. (invert_conditions): New function: invert a list of conditionals. * tests/cond14.test: New file. * tests/cond15.test: New file. * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
Tom Tromey 4658aae4 2001-08-05T22:02:33 * tests/Makefile.am (TESTS): Added dejagnu2.test. * tests/dejagnu2.test: New file. * lib/am/dejagnu.am (site.exp): Don't conditionalize. * automake.in (handle_scripts): Removed dead code. (handle_tests_dejagnu): Don't handle site.exp generation specially.
Richard Boulton 2bff849f 2001-08-04T13:28:49 * tests/cond17.test: New file: test for being able to define an object to be generated in different ways according to a conditional. * tests/Makefile.am (XFAIL_TESTS): Add cond17.test. (TESTS): Added cond17.test.
Tom Tromey 02891841 2001-08-04T04:02:42 2001-08-02 Richard Boulton <richard@tartarus.org> * automake.in (variable_conditions_sub): Handle variable substitution refs when computing conditions based on subvariable conditions. Fixes substitution refs of system variables when sub variable is conditional. (SUBST_REF_PATTERN): New global. * tests/cond16.test: New file: regression test for variable substitution refs. * test/Makefile.am (TESTS): Added cond16.test.
Tom Tromey dcd49f78 2001-08-04T03:47:50 * tests/substref.test: Require GNU make; backed out previous change.
Tom Tromey 14788917 2001-08-03T18:40:44 * tests/substref.test: Handle entering/leaving directory messages.
Richard Boulton 5cc47615 2001-08-03T11:57:16 2001-08-03 Richard Boulton <richard@tartarus.org> * automake.in (value_to_list): Check for whether $from is defined, rather than whether it is true, so that empty $froms are allowed in substitution reference patterns. * tests/substref.test: New file: test behavior of substitution references when the $from side of the substitution is empty. * tests/Makefile.am (TESTS): Added substref.test.
Tom Tromey 264f136d 2001-08-01T06:04:16 2001-07-31 Richard Boulton <richard@tartarus.org> Raja R Harinath <harinath@cs.umn.edu> * automake.in (variable_conditions_sub): Remove @parent_conds argument. This was old logic - duplicate or impossible conditionals are removed later by &variable_conditions_reduce(). Fixes tests/cond13.test. (conditionals_true_when): Removed. * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
Tom Tromey 4f1ce3a8 2001-07-31T16:39:38 * tests/Makefile.am (TESTS): Added cond13.test. (XFAIL_TESTS): Likewise. * tests/cond13.test: New file.
Tom Tromey a011649b 2001-07-31T06:09:19 * configure.in: Upped to version 1.4k.
Tom Tromey 60903702 2001-07-31T05:45:25 * configure.in: Released 1.4j.
Tom Tromey d3910daa 2001-07-31T04:22:07 * tests/Makefile.am (TESTS): Added aclibobj.test. * tests/aclibobj.test: New file. * automake.in (handle_lib_objects_cond): Avoid undefined variable error. (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
Tom Tromey 6a9bf065 2001-07-27T03:36:55 * tests/nolink.test: Added no-exeext.
Tom Tromey 37506386 2001-07-27T00:02:43 * automake.in (am_print_error): New function. (am_error): Use it. (am_file_error): Likewise. (am_line_error): Likewise. (am_conf_error): Likewise. (am_conf_line_error): Likewise. * automake.texi (Options): Document no-exeext. * automake.in (handle_options): Recognize no-exeext. (rule_define): Handle no-exeext. * tests/Makefile.am (TESTS): Added new file. * tests/exeext2.test: New file. * automake.in (make_input_list): Removed. (scan_autoconf_config_files): Don't add to make_input_list. (scan_one_autoconf_file): Don't use make_input_list. (scan_autoconf_files): Use make_list, not make_input_list. (scan_autoconf_files): Likewise. * automake.in (seen_exeext): Removed. (generate_makefile): Don't define EXEEXT or OBJEXT. (scan_one_autoconf_file): Don't check for AC_EXEEXT. (am_install_var): Don't check $seen_exeext. (handle_programs): Likewise. (rule_define): Allow x to override x$(EXEEXT), for now. (file_contents_internal): Only define rule if rule_define allows us to. * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
Tom Tromey 548fc006 2001-07-25T15:27:36 From Nicolas Joly: * tests/pr9.test: Require GNU make. * tests/dirname.test: Don't use `-u'.
Tom Tromey 35158ae1 2001-07-23T01:01:53 * tests/Makefile.am (TESTS): Added auxdir2.test. (XFAIL_TESTS): Likewise. * tests/auxdir2.test: New file.
Tom Tromey 157ad74f 2001-07-23T00:53:50 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test. * automake.in (TARGET_PATTERN): Add `@' as allowable character.
Tom Tromey 7abb9f3d 2001-07-22T22:16:30 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test. * automake.in (am_install_var): Add $(EXEEXT) even if program name holds `.'. Don't add $(EXEEXT) if program name already has it. (handle_programs): Don't add $(EXEEXT) if user already did. (make_paragraphs): Don't compute EXEEXT.
Tom Tromey 730bcba2 2001-07-22T22:01:17 * tests/Makefile.am (TESTS): Added exeext.test. (XFAIL_TESTS): Likewise. * tests/exeext.test: New file.
Tim Van Holder a5911ca8 2001-07-22T00:27:52 Removed the "SKIP:" message.
Tim Van Holder 781b237d 2001-07-22T00:25:35 * tests/dirname.test: Explicitly use $SHELL to run the script; this avoids failures on DJGPP. * tests/install2.test: Skip if 'chmod 000' doesn't make a file unreadable.
Tom Tromey 28084991 2001-07-21T23:46:10 * tests/libtool2.test: Check for libtoolize.
Tom Tromey 7638bd9f 2001-07-21T22:46:14 * tests/Makefile.am (TESTS): Added substtart.test. (XFAIL_TESTS): Likewise. * tests/substtarg.test: New file.
Tom Tromey 8b30c859 2001-07-21T19:34:32 * automake.in (handle_dist): Handle case where aux dir doesn't have a Makefile. Fixes depdist.test. * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test. * tests/depdist.test: Look for config/depcomp. * tests/Makefile.am (TESTS): Added depdist.test. (XFAIL_TESTS): Likewise. * tests/depdist.test: New file. From Eric Magnien.
Tom Tromey 5bab4026 2001-07-21T18:55:37 * tests/ccnoco.test: Removed `configure.2' test; in autocon 2.50 AC_PROG_CC_C_O does require AC_PROG_CC.
Tom Tromey 569453df 2001-07-21T05:27:26 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct locations. * tests/dirname.test: New test. * tests/stamph2.test: New test. * tests/Makefile.am: Add new tests. * tests/Makefile.in: Regenerated.
Tom Tromey 50bea031 2001-07-20T01:25:14 2001-07-19 Tom Tromey <tromey@redhat.com> Alexandre Duret-Lutz <duret_g@epita.fr> Fix for ccnoco.test, subobj8.test: * m4/Makefile.am (m4data_DATA): Added auxdir.m4. * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test, subobj8.test. * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile. Use AM_AUX_DIR_EXPAND. * lib/compile: Handle case where `-o' argument is the name of an executable, not an object file. * m4/auxdir.m4: New file, from... * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND. * automake.in (handle_single_transform_list, lang_c_rewrite): Require compile using `require_config_file'.
Pavel Roskin 3c5abbd0 2001-07-18T14:56:23 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES. * tests/gcj.test: Likewise. * tests/gcj2.test: Likewise. * tests/gcj3.test: Likewise.
Tom Tromey 0066e596 2001-07-18T05:49:46 * tests/Makefile.am (TESTS): Added ccnoco.test. (XFAIL_TESTS): Likewise. * tests/ccnoco.test: New file.
Tom Tromey 1c4a810c 2001-07-17T05:53:49 Report from Motoyuki Kasahara: * tests/make.test: Use am__include. * tests/exsource.test: Use am__include. * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote. * automake.in (handle_languages): Use am__include and am__quote.
Tom Tromey 6e3608a5 2001-07-17T03:38:32 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr> * automake.in (handle_libraries): Allow libraries to lie in a subdirectory by constraining only the basename to start with 'lib', not the whole path.
Tom Tromey f97ba426 2001-07-16T21:29:12 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr> * tests/subobj8.test: New file. * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
Tom Tromey f5ea1a6d 2001-07-15T21:55:07 Report from Ralf Corsepius: * automake.in (TARGET_PATTERN): Add `+' as valid character. (SUFFIX_RULE_PATTERN): Likewise. * tests/Makefile.am (TESTS): Added cxx.test. * tests/cxx.test: New file.
Tom Tromey b689c275 2001-07-05T01:19:35 Fix for nolink.test: * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test. * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%. * automake.in (am_install_var): Only rewrite PROGRAMS if $seen_exeext. (make_paragraphs): Always define %EXEEXT%.
Tom Tromey a8316c61 2001-07-05T00:26:43 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr> * tests/nolink.test: New file. * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
Tom Tromey 4d130831 2001-07-04T03:44:18 * configure.in: Upped to 1.4i.
Tom Tromey da09285c 2001-07-04T03:25:16 * configure.in: Released 1.4h.
Tom Tromey 5ff8b67b 2001-07-03T04:19:36 Fix for libtool2.test: * tests/libtool2.test: Use `rm -f' to placate maintainer-check. * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR. * automake.in (generate_makefile): Call handle_libtool unconditionally. * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
Tom Tromey c53f6ce8 2001-07-03T03:47:56 * tests/libtool2.test: Look for `.lo' files to be removed.
Tom Tromey 3093fbc6 2001-07-02T20:14:34 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
Tom Tromey 8a49ab2b 2001-07-02T20:13:19 * tests/Makefile.am (TESTS): Removed dup.test. * tests/dup.test: Removed. * aclocal.in (scan_file): Don't give error for duplicate macro.
Tom Tromey 6684c5eb 2001-07-01T23:18:09 * tests/Makefile.am (TESTS): Added libtool2.test. * tests/libtool2.test: New file.
Tom Tromey ffcacbab 2001-07-01T22:51:38 2001-06-29 Tom Tromey <tromey@redhat.com> * tests/cond11.test: Use `=', not `=='. * tests/cond12.test: Look for automake in build directory, not source directory. 2001-06-29 Richard Boulton <richard@tartarus.org> * automake.in (conditionals_true_when): Pass first parameters by reference, avoiding bug which put all parameters in @CONDS instead of @WHENS. Report by Kalle Olavi Niemitalo. Take a single WHEN instead of an array of WHENS. Remove FIXME; can't now have an empty @WHENS. (conditional_is_redundant): New sub. (variable_conditions_reduce): Check whether each condition is implied by any of the other conditions (other those already discarded), rather than checking only against those already considered (and kept). Also, fix sense of check: was keeping tautologous terms instead of discarding them. Use conditional_is_redundant instead of conditionals_true_when. * tests/Makefile.am (TESTS): Added cond11.test and cond12.test. * tests/cond11.test: New file. * tests/cond12.test: New file.
Tom Tromey c0d60c16 2001-06-29T06:55:25 2001-06-29 Raja R Harinath <harinath@cs.umn.edu> * automake.in (saw_sources_p): Work even if there are more than one header files, and more than of one type of header. * tests/Makefile.am (TESTS): Added new file. * tests/depend4.test: New file.
Tom Tromey 081f2d51 2001-06-24T03:38:27 Fix for yacc5.test: * lib/ylwrap: Changed usage. * lib/am/yacc.am: Rewrote to use new substitutions. * lib/am/lex.am: Likewise. * automake.in (handle_languages): Skip files whose language doesn't have a compiler. Handle `define_flag' attribute. Changed '$' to "\$" to aid Emacs fontification. (struct): Added `rule_file'. Removed `derived_autodep'. Added `_target_hook' and `define_flag'. (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile', and `compiler' attributes. Removed `linker', `derived_autodep', and `ansi' attributes. Added `define_flag'. (yacc, yaccxx): Added `_target_hook'. (saw_extension): Count number of times extension seen. (count_files_for_language): New sub. (saw_sources_p): Use it. (handle_single_transform_list): Allow language rewrite function to return a new source extension. Call target_hook. (yacc_sources, lex_sources): Removed. (initialize_per_input): Don't initialize yacc_sources or lex_sources. (lang_yacc_rewrite): Rewrote. (lang_yaccxx_rewrite): Likewise. (lang_lex_rewrite): Likewise. (lang_lexxx_rewrite): Likewise. (output_yacc_build_rule): Removed. (output_lex_build_rule): Removed. (lang_yacc_finish): Removed build rule generation. (lang_lex_finish): Likewise. (DASH_D_PATTERN): New global. (lang_yacc_target_hook): New function. (_target_hook): New function. (register_language): Default `define_flag'. * tests/yacc5.test: Updated test. * tests/yacc4.test: Exit with status 77 if bison doesn't work. * tests/yacc3.test: Remove bogus `make' invocation. Added test for all YFLAGS variables.
Tom Tromey 08e7a2e0 2001-06-20T16:46:15 * tests/yacc5.test: Check for per-executable YFLAGS.