summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Typofixes in warning messages and manualStefano Lattarini2014-04-214-5/+9
| | | | | | | | | | | | | | | | | | Fixes automake bug#16827 and bug#16997. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | Merge branch 'micro' into minorStefano Lattarini2014-04-211-0/+2
|\ \ \ | |/ / | | | | | | | | | * micro: doc: fix encoding error with UTF-8 characters
| * | doc: fix encoding error with UTF-8 charactersPaul Eggert2014-01-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * doc/automake.texi: Specify @documentencoding and @documentlanguage, to prevent encoding errors for parts of this input file that are UTF-8. This also causes the .info output to use curly quotes, which is easier to read though it does assume UTF-8 support.
* | | NEWS: a typofix, and better word wrappingStefano Lattarini2013-12-311-3/+3
| | | | | | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | parallel-tests: avoid possible implicit "make all" in test-suite.log ruleStefano Lattarini2013-12-302-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes automake bug#16302. * lib/am/check.am ($(TEST_SUITE_LOG)): Avoid running "make $redo_logs" when $redo_logs expands to empty, since in that case we are actually ending up invoking a full "make all". That shouldn't be required, and can cause slowdowns for people implementing their extra "laziness wrappers" around check-TESTS (automake bug#16302). * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | Allow user to extend .PRECIOUS targetStefano Lattarini2013-12-267-3/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References: <http://lists.freedesktop.org/archives/systemd-devel/2013-July/012155.html> <http://lists.gnu.org/archive/html/automake/2013-07/msg00011.html> * bin/automake.in: Adjust to ensure we handle '.PRECIOUS' the same way we do for '.PHONY' and '.MAKE'. * lib/Automake/Rule.pm: Likewise. * t/precious.sh: New test. * t/list-of-tests.mk: Add it. * t/phony.sh: Enhance a little while at it. * NEWS: Update. * THANKS: Likewise. Reported-by: Holger Hans Peter Freyther <holger@freyther.de> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | cosmetics: remove a couple of extra trailing white spacesStefano Lattarini2013-12-262-2/+2
| | | | | | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | tests: fix a spurious failure on Mac OS XStefano Lattarini2013-12-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes bug#14706. * lib/depcomp2.sh: Also cater to spurious diagnostic from GNU rm, not only from Apple's rm. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | docs: make clear the JAVA primary is frozenStefano Lattarini2013-12-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/automake.texi: Here. The JAVA primary is broken in several ways, and will no longer be developed, not even for bug fixes. See also automake bugs #9088, #8662 and #8540. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | Merge branch 'install-sh-improvements' into minorStefano Lattarini2013-12-264-31/+94
|\ \ \ | | | | | | | | | | | | | | | | | | | | * install-sh-improvements: install-sh: a slightly better diagnostic, and tests enhancements install-sh: be stricter in catching invalid usages
| * | | install-sh: a slightly better diagnostic, and tests enhancementsStefano Lattarini2013-12-262-21/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/install-sh: When called with no non-option arguments and the '-t' option with an argument that is not an existing directory, have the diagnostic output complain about the lack of required arguments rather than about the bad argument passed to '-t'. * t/install-sh-unittests.sh: Enhance to also check diagnostic printed in cases of expected failure. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | | install-sh: be stricter in catching invalid usagesStefano Lattarini2013-12-264-25/+74
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Such usages (which are rejected by GNU install as well) are: - options -d and -t used together; - argument passed to option -t must be a directory; - if there are two or more SOURCEFILE arguments, the DESTINATION argument must be a directory. Note that we still allow the use of options -d and -T together, by making -d take the precedence; this is for compatibility with GNU install. This change fixes, among other things, automake bug#15376. * lib/install-sh: Adjust. * t/install-sh-unittests.sh: Enhance. * NEWS: Update. * THANKS: Add reporter of bug#15376. Helped-by: Tobias Hansen <thansen@debian.org> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | tests: more significant names for some testsStefano Lattarini2013-12-255-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * t/insh2.sh: Rename... * t/dist-install-sh.sh: ... like this. * t/instsh.sh: Rename... * t/add-missing-install-sh.sh: ... like this. * t/instsh2.sh: Rename... * t/install-sh-unittests.sh: ... like this. * t/instsh3.sh: Rename... * t/install-sh-option-C.sh: ... like this. * t/list-of-tests.mk: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | tests: some cosmetic fixesStefano Lattarini2013-12-254-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * t/instdat.sh: Here. * t/instdat2.sh: And here. * t/instsh.sh: And here. * t/instsh3.sh: And here. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | tests: more significant names for a testStefano Lattarini2013-12-252-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * t/install2.sh: Rename... * t/dist-with-unreadable-makefile-fails.sh: ... like this. * t/list-of-tests.mk: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| | |
| \ \
*-. \ \ Merge branches 'fix-pr11814' and 'drop-perl-tap-driver' into minorStefano Lattarini2013-12-2516-148/+132
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix-pr11814: docs: drop a few obsolescent FIXME/TODO comments, and associated text testsuite harness: report test exit status in log file * drop-perl-tap-driver: TAP driver: remove perl implementation (move it into contrib/) Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| | * | | TAP driver: remove perl implementation (move it into contrib/)Stefano Lattarini2013-12-2412-124/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That implementation was only meant as a standard against which the portable awk+shell implementation was to be measured. Now, since Automake 1.12, the latter implementation is fully functional and already used in the wild, and in fact feature-par with the perl implementation. So the perl implementation is now just slowing down and complicating our testsuite. Let's move it to 'contrib/' (we don't want to remove it, in case someone is actually using it in the wild). * lib/tap-driver.pl: Move it ... * contrib/tap-driver.pl: ... here. While at it, convert quoting `like this' to quoting 'like this', and remove an obsolescent FIXME comment. * lib/Makefile.inc (dist_script_DATA): Drop '%D%/tap-driver.pl'. * Makefile.am (EXTRA_DIST): Add 'contrib/tap-driver.pl'. * doc/automake.texi: Remove one stray reference to 'tap-driver.pl', and reference 'tap-driver.sh' instead, as intended. * t/ax/am-test-lib.sh ($am_tap_implementation): Delete definition and uses. (fetch_tap_driver): Simplify to unconditionally assume the shell+awk implementation of the TAP driver is used. (get_shell_script): Make more flexible so that it can cater to the needs of 'fetch_tap_driver()'. * t/tap-bad-prog.tap: Likewise. * t/tap-bailout-leading-space.sh: Likewise. * t/tap-signal.tap: Likewise. * t/tap-test-number-0.sh: Likewise. * t/test-driver-cond.sh: Use 'tap-driver.sh' instead of 'tap-driver.pl'. * gen-testsuite-part (%test_generators): Do not generate sister tests that use the perl TAP driver rather than the shell+awk one. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | | | docs: drop a few obsolescent FIXME/TODO comments, and associated textStefano Lattarini2013-12-241-20/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | | | testsuite harness: report test exit status in log fileStefano Lattarini2013-12-245-4/+87
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The exit status of a test should be reported in the test logs, so that one can see at a glance whether the test has succeeded or failed, without having to look also into the corresponding .trs file. This fixes automake bug#11814. * lib/test-driver: Also report the test script exit status in the test log (as the last line). * t/check-exit-status-reported.sh: Test this new behaviour. * t/list-of-tests.mk: Add the new test. * t/ax/test-lib.sh( am_exit_trap): No longer log the test exit status; this has been made redundant by the change to 'test-driver'. While at it, fix an imperfect quoting. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | | TAP driver: no need to invoke AC_PROG_AWK directlyStefano Lattarini2013-12-243-8/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is already required by AM_INIT_AUTOMAKE anyway. * doc/automake.texi: Adjust examples. * t/tap-doc2.sh: Adjust documentation-tracking test. * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly tell that the AC_PROG_AWK requirement is also needed whenever the TAP driver is used. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | NEWS: stop reporting "new" Automake versioning schemeStefano Lattarini2013-12-241-42/+0
| | | | | | | | | | | | | | | | | | It's actually old news by now. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | Merge branch 'micro' into minorStefano Lattarini2013-12-2411-161/+55
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * micro: post-release: micro version bump to 1.14.1a devel version release: stable micro release 1.14.1 HACKING: minor clarification tests: make install-info-dir.sh print more debugging info tests: remove too-brittle test tap-realtime.sh maintainer: am-ft: add option to cater to clock skews sync: update INSTALL, config.guess and config.sub from upstream TAP driver: cosmetic fixes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | post-release: micro version bump to 1.14.1a devel versionStefano Lattarini2013-12-242-3/+3
| |/ | | | | | | | | | | | | * configure.ac (AC_INIT): Bump version number to 1.14.1a. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * release: stable micro release 1.14.1v1.14.1Stefano Lattarini2013-12-242-5/+5
| | | | | | | | | | | | | | * configure.ac (AC_INIT): Bump version number to 1.14.1. * m4/amversion.m4: Likewise (auto-updated by "make bootstrap"). Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * HACKING: minor clarificationStefano Lattarini2013-12-241-1/+1
| | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * tests: make install-info-dir.sh print more debugging infoStefano Lattarini2013-12-231-5/+7
| | | | | | | | | | | | With the hope that this will shed more light on bug#14601 Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * tests: remove too-brittle test tap-realtime.shStefano Lattarini2013-12-232-128/+0
| | | | | | | | | | | | | | | | | | * t/tap-realtime.sh: Delete. It has always been brittle, but now it's also causing spurious failures when mawk is used as the awk implementation in tap-driver.sh (see bug#14601). * t/list-of-tests.mk: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * maintainer: am-ft: add option to cater to clock skewsStefano Lattarini2013-12-231-0/+6
| | | | | | | | | | | | | | | | | | | | * maintainer/am-ft: Add option '-S', giving a number of seconds to sleep after copying the tarball to the remote system and before unpacking, building and testing it. This is to cater to situations where the clock of the remote system is skewed (in the past) w.r.t. the clock the local system the tarball has been built on. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * sync: update INSTALL, config.guess and config.sub from upstreamStefano Lattarini2013-12-234-20/+35
| | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * TAP driver: cosmetic fixesStefano Lattarini2013-12-231-5/+4
| | | | | | | | | | | | | | | | * lib/tap-driver.sh: Quote 'like this', not `like this'. Remove an obsolete FIXME. Correctly mark another comment as a TODO rather than as a FIXME. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | Merge branch 'modernize-install-sh' into minorStefano Lattarini2013-11-023-192/+159
|\ \ | | | | | | | | | | | | | | | | | | | | | * modernize-install-sh: cosmetics: untabify the install-sh script install-sh: assume that "set -f" and "set +f" work... install-sh: assume ${var:-value} works as expected install-sh: assume 'dirname' is available and working correctly
| * | cosmetics: untabify the install-sh scriptStefano Lattarini2013-10-301-137/+137
| | | | | | | | | | | | | | | | | | * lib/install-sh: Here, plus a couple of related formatting tweaks. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | install-sh: assume that "set -f" and "set +f" work...Stefano Lattarini2013-10-302-21/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and disable/enable shell globbing, respectively. This is mandated by POSIX, and supported even by Solaris 9 /bin/sh (one of the most braindead shells we still support). * lib/install.sh: Adjust. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | install-sh: assume ${var:-value} works as expectedStefano Lattarini2013-10-302-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Autoconf manual says it is OK these days. * lib/install.sh: Adjust. * NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * | install-sh: assume 'dirname' is available and working correctlyStefano Lattarini2013-10-303-28/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Really, we no longer care about hosts so outdated/broken to miss fundamental utilities like basename or dirname. * lib/install.sh: Adjust. * NEWS, THANKS: Update. Suggested-by: Philipp A. Hartmann <philipp.hartmann@offis.de> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | | Merge branch 'micro' into minorStefano Lattarini2013-11-029-20/+98
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | * micro: cosmetics: fix typo in a user-facing message in tests automake: account for perl hash order randomization tests: avoid use of intervals to capitalize letters distcheck: don't allow overriding of --prefix and --srcdir by the user tests: expose bug#14991 (relates to 'distcheck')
| * cosmetics: fix typo in a user-facing message in testsStefano Lattarini2013-11-021-1/+1
| | | | | | | | | | | | * t/lex-header.sh: A "skip" message in this test, precisely. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| *-. Merge branches 'fix-pr14991' and 'fix-pr14891' into microStefano Lattarini2013-11-018-19/+97
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix-pr14991: distcheck: don't allow overriding of --prefix and --srcdir by the user tests: expose bug#14991 (relates to 'distcheck') * fix-pr14891: automake: account for perl hash order randomization tests: avoid use of intervals to capitalize letters
| | | * automake: account for perl hash order randomizationStefano Lattarini2013-10-313-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try to explicitly order the keys of some perl hashes when looping on them to do sanity/correctness checks and possibly display warning messages; this should ensure a more reproducible output. Not really a big deal, but I prefer to keep the order of such output reproducible if possible. Issue revealed by spurious testsuite failures with perl 5.18, as reported in automake bug#14891. See also: <http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod#Hash_randomization> <http://onionstand.blogspot.ie/2012/12/are-you-relying-on-hash-keys-being.html> * lib/Automake/Variable.pm (variables): Explicitly order the values of the returned Automake::Variable instances. (variables_dump): Simplify, using the knowledge that 'variables()' now sorts its output. * t/preproc-errmsg.sh: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| | | * tests: avoid use of intervals to capitalize lettersStefano Lattarini2013-10-311-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | It was causing spurious failures with with Solaris 8 'tr'. See automake bug#14891. * t/test-extensions.sh: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| | * distcheck: don't allow overriding of --prefix and --srcdir by the userStefano Lattarini2013-10-304-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not through AM_DISTCHECK_FLAGS, nor through DISTCHECK_FLAGS. Apparently, some packages got in the habit of relaying all the options passed to the original ./configure invocation through to the configure invocations in "make distcheck". This was causing problems, because it also passed through the original --srcdir and --prefix options. Fixes: expose bug#14991 (relates to 'distcheck') * lib/am/distdir.am (distcheck): Pass the hard-coded --srcdir and --prefix options *after* both the developer-defined options in $(AM_DISTCHECK_FLAGS) and the user-defined options in $(DISTCHECK_FLAGS). * t/list-of-tests.mk (XFAIL_TESTS): Remove the now-passing test 'distcheck-no-destdist-or-srcdir-override.sh'. * doc/automake.texi (Checking the Distribution): Update. * NEWS: Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| | * tests: expose bug#14991 (relates to 'distcheck')Stefano Lattarini2013-10-302-0/+62
| |/ | | | | | | | | | | | | * t/distcheck-no-prefix-or-srcdir-override.sh: New, expose the bug. * t/list-of-tests.mk (handwritten_TESTS, XFAIL_TESTS): Add it. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* | Merge branch 'micro' into minorStefano Lattarini2013-10-3013-56/+130
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * micro: tests: fix spurious failure when zip is present but unzip is not tests: fix spurious failure due to localization issues NEWS: update with the changes since v1.14 docs: correct typos in the fix-timestamp.sh script python: byte-compile nobase_*_PYTHON files only once cosmetics: typofix in the 'missing' script test: avoid false positives in 'cc-no-c-o' script test harness: improve catching of usage errors in script 'test-driver' tests: fix a spurious failure on NetBSD-current am-ft: make the environment available earlier NEWS: post-release tweaks (for 1.14.x series) tests: avoid a spurious failure on MacOS X 10.6.8 tests: don't risk hanging on the 'cl' requirement
| * tests: fix spurious failure when zip is present but unzip is notStefano Lattarini2013-10-303-26/+31
| | | | | | | | | | | | | | | | | | | | | | | | Fixes automake bug#15181. * t/dist-formats.tap (have_compressor): When checking that zip(1), also check for unzip(1), otherwise "make distcheck" will be unable to extract the zip tarball it creates, which will cause spurious failures. While at it, reorganize the existing code a bit. * THANKS, NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * tests: fix spurious failure due to localization issuesStefano Lattarini2013-10-303-1/+6
| | | | | | | | | | | | | | | | | | | | Fixes automake bug#15237. * t/autohdr-subdir-pr12495.sh: Ensure make is run in the C locale, so that we can expect error messages in English when grepping its output. * THANKS, NEWS: Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * NEWS: update with the changes since v1.14Stefano Lattarini2013-10-301-0/+23
| | | | | | | | Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * docs: correct typos in the fix-timestamp.sh scriptPeter Breitenlohner2013-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | * doc/automake.texi: Here. The original version of this example script makes no sense at all, using 'configure' instead of the intended 'touch' in few key places. Copyright-paperwork-exempt: yes Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de> Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * python: byte-compile nobase_*_PYTHON files only onceBenoit Sigoure2013-10-281-6/+6
| | | | | | | | | | | | | | | | | | * lib/am/python.am: Here. Byte-compiling was occurring inside of a loop, causing an O(n^2) number of byte-compilations instead of O(n). Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * cosmetics: typofix in the 'missing' scriptVáclav Zeman2013-10-282-2/+3
| | | | | | | | | | | | | | | | * lib/missing: Here, in a message printed to the user. * THANKS: Update. Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
| * Merge branch 'fix-pr14911' into microStefano Lattarini2013-07-232-4/+17
| |\ | | | | | | | | | | | | * fix-pr14911: test: avoid false positives in 'cc-no-c-o' script