Re: minor error and a question

2011-12-05 Thread Ralf Wildenhues
Hello Joakim, * Joakim Tjernlund wrote on Wed, Nov 30, 2011 at 08:11:31AM PST: Question: make install always install all targets, even if some of then haven't been rebuilt since last install. Is it possible to have some dependency sensitive install so only rebuilt targets are reinstalled?

bug#9768: Makefile broken after removing included *.am file

2011-10-19 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Oct 17, 2011 at 10:20:05AM CEST: On Sunday 16 October 2011, Ralf Wildenhues wrote: What happens if I write include fragment-with-typo-in-name.am but I want that fragment included? I fear I cannot parse this question... Do you mean that you want

Re: bug#9768: Makefile broken after removing included *.am file

2011-10-19 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Oct 17, 2011 at 10:20:05AM CEST: On Sunday 16 October 2011, Ralf Wildenhues wrote: What happens if I write include fragment-with-typo-in-name.am but I want that fragment included? I fear I cannot parse this question... Do you mean that you want

bug#9768: Makefile broken after removing included *.am file

2011-10-16 Thread Ralf Wildenhues
Hello, * Stefano Lattarini wrote on Sun, Oct 16, 2011 at 08:27:12PM CEST: On Sunday 15 November 2009, Peter Johansson wrote: make: *** No rule to make target `aminclude.am', needed by `Makefile.in'. Stop. This is very similar to the deleted header file problem for *.m4 files that

Re: bug#9768: Makefile broken after removing included *.am file

2011-10-16 Thread Ralf Wildenhues
Hello, * Stefano Lattarini wrote on Sun, Oct 16, 2011 at 08:27:12PM CEST: On Sunday 15 November 2009, Peter Johansson wrote: make: *** No rule to make target `aminclude.am', needed by `Makefile.in'. Stop. This is very similar to the deleted header file problem for *.m4 files that

Re: [RFC] Releasing automake 1.11.2

2011-10-16 Thread Ralf Wildenhues
Hello Stefano, * Stefano Lattarini wrote on Sun, Oct 16, 2011 at 05:44:14PM CEST: I think it's about time to release automake 1.11.2 -- the `maint' branch contains various bug fixes w.r.t. the 1.11.1 release (some of them quite important), and offers some new small features and various

Re: [RFC] Releasing automake 1.11.2

2011-10-16 Thread Ralf Wildenhues
Hello Stefano, * Stefano Lattarini wrote on Sun, Oct 16, 2011 at 05:44:14PM CEST: I think it's about time to release automake 1.11.2 -- the `maint' branch contains various bug fixes w.r.t. the 1.11.1 release (some of them quite important), and offers some new small features and various

Re: [PATCH] tests: simplify wrapper for aclocal

2011-09-04 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Fri, Sep 02, 2011 at 09:58:27PM CEST: * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and extra `-I' flags; they are not really required, since the file `m4/amversion.m4' is generated in the srcdir anyway. * tests/acloca10.test: Remove use

Re: [PATCH] tests: simplify wrapper for aclocal

2011-09-04 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, Sep 04, 2011 at 05:47:41PM CEST: On Sunday 04 September 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Sep 02, 2011 at 09:58:27PM CEST: * tests/aclocal.in: Remove use of $ACLOCAL_TESTSUITE_FLAGS and extra `-I' flags; they are not really

Re: [FYI] {master} gitignore: more use of anchors

2011-08-26 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Aug 09, 2011 at 05:04:16PM CEST: On Tuesday 09 August 2011, Eric Blake wrote: On 08/09/2011 08:44 AM, Stefano Lattarini wrote: * .gitignore: Anchor files that are intended to be ignored only if found in the same directory of the `.gitignore' file, not

Re: [PATCH 8/5] tap: support colorization of testsuite progress output

2011-07-21 Thread Ralf Wildenhues
On Tuesday 19 July 2011, Ralf Wildenhues wrote: Below is what I've squashed in. OK? Sure, thanks! --- a/lib/tap-driver +++ b/lib/tap-driver @@ -230,17 +230,24 @@ sub colored ($$) sub decorate_result ($) { - return $_[0] unless $cfg{color-tests}; - # Best way to simulate

bug#9080: config.guess of automake not up to date (AIX 7.1)

2011-07-20 Thread Ralf Wildenhues
* Christian Volkmann wrote on Thu, Jul 14, 2011 at 01:28:23PM CEST: config.guess of the automake package does not detect AIX 7.1. It detects rs6000-ibm-aix instead of powerpc-ibm-aix7.1.0.0 Please update this file for the next automake release, I've ran make fetch in maint and merged in

Re: Source files in different directory? Now: linker input file unused because linking not done

2011-07-20 Thread Ralf Wildenhues
* Paul Elliott wrote on Wed, Jul 20, 2011 at 08:34:11AM CEST: On Saturday, June 25, 2011 03:47:56 PM you wrote: I need to keep my source files (i.e. .c and .h ) in a different directory tree from the one that contains the autotools control files and the build directory. That

Re: [PATCH 1/5] {test-protocols} parallel-tests: make parsing of test results safer

2011-07-19 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Jul 19, 2011 at 11:54:09AM CEST: Please, this is really important: we need to research the other test protocols, what they do to be robust here. Don't NIH here, because the experience we have is not enough to not mess up this. Consider this research as

bug#9088: Java support

2011-07-18 Thread Ralf Wildenhues
Hello, allow me a couple of ranty comments: * Stefano Lattarini wrote on Fri, Jul 15, 2011 at 10:58:01AM CEST: I'd rather deprecate the JAVA primary, and then introduce a new `JARS' primary, to be used e.g. as follows: First off, we've _never_ removed support for a primary, and I don't think

Re: [PATCH] docs: Add references between the 2 sections on compiling Java.

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jul 16, 2011 at 03:18:28PM CEST: From: Benoit Sigoure tsuna...@gmail.com Date: Fri, 15 Jul 2011 16:49:45 -0700 Subject: [PATCH] docs: add references between the 2 sections on java support * doc/automake.texi (Java Support, Java): Add cross-references. Nice

Re: [GSoC] Some patches for testsuite harness improvements and TAP support introduction

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jul 15, 2011 at 12:35:02AM CEST: The patches I'm going to post in this thread have already been applied to the 'GSoC/experimental/test-results-work' temporary branch, but now I think they are mature enough to be moved to the official branch 'test-protocols';

Re: [PATCH 1/5] {test-protocols} parallel-tests: make parsing of test results safer

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jul 15, 2011 at 12:36:17AM CEST: The new code for parsing the testsuite-generated `.log' files, as introduced in commit `v1.11-872-gc96b881', considers each `:test-result:' field anywhere in a `.log' file as a declaration of a test result, and accounts for it

Re: [PATCH 2/5] {test-protocols} parallel-tests: new recognized test result 'ERROR'

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jul 15, 2011 at 12:37:07AM CEST: * lib/am/check.am ($(TEST_SUITE_LOG)): Recognize a new test result `ERROR'. Use it when encountering unreadable test logs (previously a simple `FAIL' was used in this situations). * lib/test-driver: Set the global test result

Re: [PATCH 4/5] {test-protocols} tests defs: new auxiliary function 'count_test_results'

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jul 15, 2011 at 12:38:57AM CEST: * tests/defs (count_test_results): New function. * tests/check11.test: Use it. * tests/test-driver-custom-multitest.test: Likewise. * tests/test-driver-custom-multitest-recheck.test: Likewise. *

Re: [PATCH 7/5] tap: some preparatory refactoring (2)

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jul 18, 2011 at 10:28:33AM CEST: * lib/tap-driver (console_output): Renamed ... (report): ... to this, and extended to appropriately register the test results when needed. (testsuite_error, handle_tap_comment, handle_tap_test, handle_tap_plan): Adjusted

Re: [PATCH 5/5] {test-protocols} tap: add experimental TAP-aware driver

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jul 18, 2011 at 10:17:01AM CEST: On Friday 15 July 2011, Stefano Lattarini wrote: * doc/automake.texi (Using the TAP test protocol): New section. (Overview of Custom Test Drivers Support): Minor updates. * lib/tap-driver: New script, TAP-aware test driver

Re: [PATCH 8/5] tap: support colorization of testsuite progress output

2011-07-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jul 18, 2011 at 10:30:56AM CEST: * lib/tap-driver (%COLORS): New variable (definition extracted from `lib/am/check.am:$(am__tty_colors)', with some obvious adjustments. (report): Adjust to colorize console output when required, using ... (decorate_result):

Re: Installing a list of files with dynamically generated names

2011-07-18 Thread Ralf Wildenhues
Hi Benoit, On Fri, Jul 15, 2011 at 10:01:04PM -0700, tsuna wrote: I use the GWT compiler and it produces dynamically generated file names (they contain MD5 sums and they depend on what code is getting compiled, so they change often). I get it to put all its output files in a given directory

Re: bug#9088: Java support

2011-07-18 Thread Ralf Wildenhues
* Jack Kelly wrote on Sat, Jul 16, 2011 at 06:13:58AM CEST: On Sat, Jul 16, 2011 at 9:55 AM, tsuna wrote: On Fri, Jul 15, 2011 at 1:58 AM, Stefano Lattarini wrote: As my java foo is pretty weak, I'm not sure how to handle jar manifests, jar entry points, or other jar/javac subtleties and

Re: Java support

2011-07-18 Thread Ralf Wildenhues
Hello, allow me a couple of ranty comments: * Stefano Lattarini wrote on Fri, Jul 15, 2011 at 10:58:01AM CEST: I'd rather deprecate the JAVA primary, and then introduce a new `JARS' primary, to be used e.g. as follows: First off, we've _never_ removed support for a primary, and I don't think

Re: bug#9088: Java support

2011-07-18 Thread Ralf Wildenhues
Hi Jack, * Jack Kelly wrote on Mon, Jul 18, 2011 at 09:33:58AM CEST: On Mon, Jul 18, 2011 at 4:17 PM, Ralf Wildenhues wrote: * Jack Kelly wrote on Sat, Jul 16, 2011 at 06:13:58AM CEST: Perhaps there should be support for a foo_jar_JARADD, that by analogy to _LDADD, that specifies

Re: [PATCH] {testsuite-work} tests: fix typos, grammaros and other blunders in comments

2011-07-17 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sat, Jul 16, 2011 at 02:30:40PM CEST: A patch doing various (mostly cosmetic) fixes to comments in tests. Before pushing, I'll allow 72 hours for comments and suggestsions. OK thanks. Subject: [PATCH] tests: fix typos, grammaros and other blunders in comments *

Re: [PATCH] {GSoC} parallel-tests: simplify testsuite summary

2011-07-07 Thread Ralf Wildenhues
On Thu, Jul 07, 2011 at 07:02:58PM +0200, Stefano Lattarini wrote: On Wednesday 06 July 2011, Ralf Wildenhues wrote: But tools like autobuild have another requirement: they would like to be able to detect, as reliably as possible, some statistics based on whatever output is thrown at them

bug#8969: improve synchronization between examples in the manual and test cases

2011-07-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jul 01, 2011 at 12:59:53AM CEST: Subject: [PATCH] docs, tests: synchronize examples from docs to tests * tests/README (Writing test cases): Give suggestions on how to keep test cases and examples in the documentation synchronized. * doc/automake.texi:

Re: [PATCH] {GSoC} tests defs: new auxiliary function 'count_test_results'

2011-07-06 Thread Ralf Wildenhues
Hi Stefano, and sorry for yet another delay, * Stefano Lattarini wrote on Tue, Jul 05, 2011 at 10:00:25PM CEST: Posted below is a patch that I'll soon apply to the temporary branch 'GSoC/experimental/test-results-work'; it is aimed at reducing code duplication a bit in the current testsuite,

Re: [PATCH] {GSoC} parallel-tests: simplify testsuite summary

2011-07-06 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sun, Jul 03, 2011 at 03:31:22PM CEST: Prefer a more deterministic, tabular format for the testsuite summary, always listing the numbers of passed, failed, xfailed, xpassed, skipped and errored tests, even when these numbers are zero. This simplify the

Re: bug#8969: improve synchronization between examples in the manual and test cases

2011-07-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jul 01, 2011 at 12:59:53AM CEST: Subject: [PATCH] docs, tests: synchronize examples from docs to tests * tests/README (Writing test cases): Give suggestions on how to keep test cases and examples in the documentation synchronized. * doc/automake.texi:

Re: bug#8969: improve synchronization between examples in the manual and test cases

2011-07-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jul 06, 2011 at 10:32:56AM CEST: Oops, sorry. Fixed by the attached patch. OK for maint? I'll wait the customary 72 hours before pushing. Thanks. OK, but please remove all the comments about tar unportability in the tests. It's so obvious. ;-) (and there

Re: [PATCH] {GSoC} parallel-tests: simplify testsuite summary

2011-07-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jul 06, 2011 at 02:49:15PM CEST: On Wednesday 06 July 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, Jul 03, 2011 at 03:31:22PM CEST: Prefer a more deterministic, tabular format for the testsuite summary, always listing the numbers

bug#8969: improve synchronization between examples in the manual and test cases

2011-07-06 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jul 06, 2011 at 10:32:56AM CEST: Oops, sorry. Fixed by the attached patch. OK for maint? I'll wait the customary 72 hours before pushing. Thanks. OK, but please remove all the comments about tar unportability in the tests. It's so obvious. ;-) (and there

Re: [PATCH] {master} coverage: new test on parallel-tests TESTS runtime overriding

2011-06-30 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 30, 2011 at 04:40:51PM CEST: I'd like to add this new test case to master. OK? Sure, note typo below. This could actually find bugs in older makes, but hey, we'd want to know about them. Thanks, Ralf Subject: [PATCH] coverage: new test on parallel-tests

Re: [FYI] {master} docs: fix unportable example of AM_TESTS_ENVIRONMENT usage

2011-06-30 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Thu, Jun 23, 2011 at 10:56:31PM CEST: On Thursday 23 June 2011, Ralf Wildenhues wrote: -AM_TESTS_ENVIRONMENT = exec 92; warn_fileno=9; export warn_fileno; This example served two purposes: use of AM_TESTS_ENVIRONMENT, and showing how to produce

Re: [MERGE REQUEST] merge patches for AM_TESTSUITE_ENVIRONMENT into maint

2011-06-30 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 30, 2011 at 05:12:38PM CEST: I think that the patches introducing support for AM_TESTSUITE_ENVIRONMENT should be merged into maint, as they'd make a nice addition for 1.11.2. I've verified that almost all these patches are based off of maint, and the few

Re: [PATCH] parallel-tests: new recognized test result 'ERROR'

2011-06-30 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 30, 2011 at 04:58:21PM CEST: I've applied the attached patch to the 'GSoC/experimental/test-results-work' branch Note that this is not an FYI, since that branch is temporary, and can thus be amended and modified. Reviews are welcome! Just a couple of

Re: [MERGE REQUEST] merge patches for AM_TESTSUITE_ENVIRONMENT into maint

2011-06-30 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Thu, Jun 30, 2011 at 10:52:16PM CEST: * Stefano Lattarini wrote on Thu, Jun 30, 2011 at 05:12:38PM CEST: I think that the patches introducing support for AM_TESTSUITE_ENVIRONMENT should be merged into maint, as they'd make a nice addition for 1.11.2. I've verified

Re: [FYI] {master} docs: fix unportable example of AM_TESTS_ENVIRONMENT usage

2011-06-30 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 30, 2011 at 10:45:02PM CEST: On Thursday 30 June 2011, Ralf Wildenhues wrote: I'm fairly sure that's only with historic shells and not an issue in practice any more (Sven Mascheck's pages will have the details for the curious). Anyway, I do think

Re: [PATCH] docs: avoid a footnote, some related rewordings and improvements (was: Re: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-393-gc1040a7)

2011-06-28 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Jun 28, 2011 at 08:24:13AM CEST: On Monday 27 June 2011, Ralf Wildenhues wrote: Sure. Well, do they use some format already? Well, there are only two of them, and both follows this format: @c The test case for the setup described here is @c test

Re: [FYI] New public temporary branch, about documentation for custom test drivers

2011-06-27 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Sun, Jun 26, 2011 at 02:20:48PM CEST: I've pushed the documentation work I've done so far to the temporary public branch GSoC/experimental/docs-custom-test-drivers, in case anyone wants to take a look at it (I had hoped to finish it this morning, but I

Re: [PATCH] docs: avoid a footnote, some related rewordings and improvements (was: Re: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-393-gc1040a7)

2011-06-27 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 23, 2011 at 11:33:41PM CEST: On Thursday 23 June 2011, Ralf Wildenhues wrote: Footnotes are hard to read and distract the flow, esp. in an info file. Sorry, I never use info(1) directly (never bothered to learn it actually); Actually, I had been

Re: [FYI] {parallel-tests-maint} docs: parallel-tests is not experimental anymore

2011-06-27 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jun 24, 2011 at 09:32:53AM CEST: Subject: [PATCH] Revert docs: parallel-tests is not experimental anymore This reverts commit a9eef973b5ea47cc3495f1a8307d4f7b85aea46f. It turned out that the current work to introduce TAP and SubUnit support in

Re: [PATCH] docs: avoid a footnote, some related rewordings and improvements (was: Re: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-393-gc1040a7)

2011-06-27 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 27, 2011 at 03:35:23PM CEST: On Monday 27 June 2011, Ralf Wildenhues wrote: +@c The following example should be covered by the test case +@c 'autodist-config-headers.test'. @c The following example is covered by autodist-config-headers.test

Re: [FYI] New public temporary branch, about documentation for custom test drivers

2011-06-27 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 27, 2011 at 01:11:51PM CEST: On Monday 27 June 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, Jun 26, 2011 at 02:20:48PM CEST: +The @code{AM_TESTS_ENVIRONMENT} and @code{TESTS_ENVIRONMENT} variables can +be used to run

Re: [FYI] {parallel-tests-maint} docs: parallel-tests is not experimental anymore

2011-06-27 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 27, 2011 at 03:48:58PM CEST: On Monday 27 June 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Fri, Jun 24, 2011 at 09:32:53AM CEST: Subject: [PATCH] Revert docs: parallel-tests is not experimental anymore This reverts commit

Re: Source files in different directory?

2011-06-27 Thread Ralf Wildenhues
Hello Paul, * Paul Elliott wrote on Sat, Jun 25, 2011 at 12:05:54PM CEST: I need to keep my source files (i.e. .c and .h ) in a different directory tree from the one that contains the autotools control files and the build directory. That's supported by default: see info Automake VPATH

Re: [PATCH] {test-protocols} parallel-tests: fix bug in Automake's own testsuite

2011-06-23 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 23, 2011 at 09:52:55AM CEST: On Wednesday 22 June 2011, Ralf Wildenhues wrote: Also, have you thought about a quoting mechanism so that test authors do not have to think about breaking the test driver mechanism accidentally? That would seem more robust

Re: [FYI] {maint} docs: minor cosmetic fixes

2011-06-23 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 23, 2011 at 06:40:25PM CEST: * doc/automake.texi: Break few overly long lines, throughout the file. (Simple Tests): Move @vindex for XFAIL_TESTS to the correct position, i.e., before and not after the paragraph where it is introduced. (Options @item

Re: [FYI] {master} docs: fix unportable example of AM_TESTS_ENVIRONMENT usage

2011-06-23 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 23, 2011 at 07:09:16PM CEST: * doc/automake.texi (Simple Tests using parallel-tests): The old example on AM_TESTS_ENVIRONMENT relied on unportable shell features, and in particular didn't work with various Korn Shells (see also commit

Re: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-393-gc1040a7

2011-06-23 Thread Ralf Wildenhues
[ from automake-commit ] since I didn't review the source patch yet: * Stefano Lattarini wrote on Thu, Jun 23, 2011 at 11:03:52AM CEST: --- a/doc/automake.texi +++ b/doc/automake.texi @@ -8293,7 +8293,9 @@ as are all @file{Makefile.am}s and @file{Makefile.in}s. Automake also has a

Re: side stepping automake limitations with custom dependencies

2011-06-23 Thread Ralf Wildenhues
Hi Jie, * Jie Zhang wrote on Thu, Jun 23, 2011 at 03:30:43PM CEST: On Thu, Jun 23, 2011 at 1:52 AM, Ralf Wildenhues wrote: The only thing that keeps me from setting current behavior in stone is that it is sooo unintuitive and ugly. There is another ugly way to achieve the same purpose

bug#8921: side stepping automake limitations with custom dependencies

2011-06-22 Thread Ralf Wildenhues
Hi Mike, * Mike Frysinger wrote on Thu, Jun 23, 2011 at 02:07:30AM CEST: ah blah, i meant autom...@gnu.org. i dont know how to close bugs with this e- mail system, so if someone could do that for me, that'd be cool ... Write to BUG-done@... Done. ;-) Cheers, Ralf

Re: [PATCH] {test-protocols} parallel-tests: fix bug in Automake's own testsuite

2011-06-22 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Jun 22, 2011 at 09:52:13PM CEST: The first bugfix in the new branch. Luckily, the bug (detailedly described in the ChangeLog entry) is only in the Automake's own testsuite, not in the implementation. You could halven the length of the log entry without loss

Re: side stepping automake limitations with custom dependencies

2011-06-22 Thread Ralf Wildenhues
Hi Mike, * Mike Frysinger wrote on Thu, Jun 23, 2011 at 02:08:50AM CEST: http://sources.redhat.com/automake/automake.html#Extending [quote] Note that Automake does not make any distinction between rules with commands and rules that only specify dependencies. So it is

Re: [FYI] {maint} maintcheck: avoid few spurious failures

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 11:59:57PM CEST: On Monday 20 June 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Mon, Jun 20, 2011 at 05:05:45PM CEST: sc_tests_plain_automake: - @if grep -v '^#' $(srcdir)/tests/*.test | grep -E ':[ ]*automake

Re: [PATCH v4 3/3] parallel-tests: allow each test to have multiple results

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:58:05PM CEST: On Monday 20 June 2011, Ralf Wildenhues wrote: For example the parallel BSD makes tend to reuse shells for running the recipe commands; But only for the commands in the same recipe, right? I think not. I'm not so sure

Re: [PATCH 1/2] tests: make test runner a script, not a shell function

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 11:12:23PM CEST: Maybe we should also say that using TESTS_ENVIRONMENT to define a custom test runner is now not only strongly deprecated (as it already was I hope), No it wasn't. test runner is not a term I would recognize, btw. but also

Re: [FYI] {maint} maintcheck: avoid few spurious failures

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Jun 21, 2011 at 09:53:19AM CEST: On Tuesday 21 June 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Mon, Jun 20, 2011 at 11:59:57PM CEST: On Monday 20 June 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Mon, Jun 20, 2011 at 05:05

Re: [PATCHES v5] Allow custom testsuite drivers in Automake

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Jun 21, 2011 at 09:22:42PM CEST: Hopefully the last iteration of the patches. A follow-up for extending and fixing the documentation will go in a new thread. Can you push your branch for this to a branch in the savannah git? I'd like to take another look at

Re: [PATCH] {maint} remake: behave better with non-GNU make in subdirectories

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, May 29, 2011 at 04:26:36PM CEST: --- a/lib/am/configure.am +++ b/lib/am/configure.am @@ -22,7 +22,7 @@ ## %MAKEFILE% is updated before considering the am--refresh target. The comment up here ^^^ needs to be updated in this particular patch. if %?TOPDIR_P%

Re: [PATCH] {maint} remake: behave better with non-GNU make in subdirectories

2011-06-21 Thread Ralf Wildenhues
What's more: have you tried this patch on a nontrivial source tree (where regenerating takes more than a second or so) with a few non-GNU makes and GNU make? I kinda fear that it can cause an endless regen loop. It might actually be smarter to use some newer BSD make features to mark Makefile as

Re: [PATCH] {maint} remake: behave better with non-GNU make in subdirectories

2011-06-21 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Jun 21, 2011 at 10:43:06PM CEST: On Tuesday 21 June 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, May 29, 2011 at 04:26:36PM CEST: --- a/lib/am/configure.am +++ b/lib/am/configure.am @@ -22,7 +22,7 @@ ## %MAKEFILE% is updated

Re: Choosing man section at configure time

2011-06-21 Thread Ralf Wildenhues
Hi Harlan, * Harlan Stenn wrote on Tue, Jun 21, 2011 at 12:13:06PM CEST: For example, I have 'sntp.man.in' and 'sntp.mdoc.in' in the distribution tarball, and at configure time stuff happens where the decision is made as to which version (man or mdoc) of the manual is to be installed, and

Re: [PATCH v4 3/3] parallel-tests: allow each test to have multiple results

2011-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, Jun 17, 2011 at 09:33:13AM CEST: On Friday 17 June 2011, Ralf Wildenhues wrote: Actually, why not s/testcase/test/g globally in all your text. Because I'm trying to make a distinction between test scripts and test cases. With the new interface, a single

Re: [PATCH 1/2] tests: make test runner a script, not a shell function

2011-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:22:28AM CEST: [Adding bug-grep, dropping bug-coreutils and automake-patches] re-adding the latter. I've noticed that grep uses a definition of TESTS_ENVIRONMENT very similar to that of coreutils (the one we've just fixed), so it will break

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:33:53AM CEST: OK, I've amended the patch on Bert's behalf, as he can't do that himself at the moment. Attached is what I've pushed (to maint). Thanks for handling this, and to Bert for the report and patch! Minor nit: ---

Re: [PATCH v4 3/3] parallel-tests: allow each test to have multiple results

2011-06-20 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:26:06PM CEST: On Monday 20 June 2011, Ralf Wildenhues wrote: Why not just split the whole documentation change into a followup patch then? Because that would only postpone, not avoid, the continous tweaking and amending

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-20 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Jun 20, 2011 at 10:29:02PM CEST: * Stefano Lattarini wrote on Mon, Jun 20, 2011 at 10:33:53AM CEST: +# Prefix each line by 'col' and terminate each with 'std', for coloring. +# Multi line coloring is problematic with less -R, so we really need +# to color

Re: [FYI] {maint} maintcheck: avoid few spurious failures

2011-06-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Jun 20, 2011 at 05:05:45PM CEST: * Makefile.am (sc_tests_plain_aclocal, sc_tests_plain_perl, sc_tests_plain_autoconf, sc_tests_plain_automake, sc_tests_plain_autoupate): Be stricter in matching an erroneous literal command, i.e., `aclocal', `automake', `perl',

bug#8718: error when using nested conditionals

2011-06-17 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Fri, Jun 17, 2011 at 07:47:35AM CEST: * Bruno Haible wrote on Thu, Jun 16, 2011 at 11:42:51PM CEST: AM_CONDITIONAL([USE_VARIANT_A], [$use_variant_a]) Instead of this line, you could use AC_CONFIG_COMMANDS_PRE([AM_CONDITIONAL([...])]) I cannot

Re: [PATCH v4 1/3] parallel-tests: add auxiliary script 'pt-driver', refactor

2011-06-17 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 16, 2011 at 10:00:31AM CEST: This refactoring should cause no API of functionality change, and is meant only to simplify the future implementation of TAP and SubUnit testsuite drivers. More precisely, our roadmap is to move most of the testsuite driving

Re: [PATCH v4 3/3] parallel-tests: allow each test to have multiple results

2011-06-17 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Thu, Jun 16, 2011 at 10:03:59AM CEST: With this change, we improve the code creating the `test-suite.log' global log and the console testsuite summary to make it able to grasp multiple results per test script. This is required in order to introduce the

bug#8718: error when using nested conditionals

2011-06-16 Thread Ralf Wildenhues
* Bruno Haible wrote on Thu, Jun 16, 2011 at 11:42:51PM CEST: AM_CONDITIONAL([USE_VARIANT_A], [$use_variant_a]) Instead of this line, you could use AC_CONFIG_COMMANDS_PRE([AM_CONDITIONAL([...])]) I cannot force the gnulib users to write autoconf macros which deviate that much

Re: [PATCH] check: don't use multi-line coloring for the report

2011-06-16 Thread Ralf Wildenhues
Hello, * Bert Wesarg wrote on Thu, Jun 16, 2011 at 08:19:23PM CEST: the parallel part is a little trickier. Because the line printing is done by awk. I would like to know, whether it is portable to use the printf function of awk. It is POSIX, but you may know that this doesn't count much.

Re: [REQUEST] Public temporary rewindable branches for GSoC features

2011-06-14 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Tue, Jun 14, 2011 at 05:55:02PM CEST: Would be ok with you if in the future I create some temporary branches *in the automake official repository* that I can rebase, edit, and delete at will? I don't mind, as long as they are marked/documented as such

Re: Patch reviews

2011-06-09 Thread Ralf Wildenhues
Hello guys, On Tue, Jun 07, 2011 at 09:25:33AM +0200, Peter Rosin wrote: Now that Ralf is doing something elsetm for a while, Thanks for the roses. After moving twice within 5 weeks (and generally having far too little time), things should gradually improve as soon as I have a landline

Re: [FYI] {maint} tests/README: update obsoleted advice

2011-05-22 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Fri, May 20, 2011 at 10:21:09PM CEST: * tests/README (Section Writing test cases subsection Do): Do not suggest to use the `*-p.test' pattern for the names of hand-written tests which use the `parallel-tests' Automake option. Not only is this not respected by the

Re: [GSoC] Early design discussion for TAP/SubUnit support in automake.

2011-05-22 Thread Ralf Wildenhues
Hi Stefano, and sorry for the long delay, * Stefano Lattarini wrote on Fri, Apr 29, 2011 at 11:21:06AM CEST: Now that my GSoC application automake - Interfacing with a test protocol like TAP or subunit has been officially accepted, I'd like to start discussing with the community some early,

Re: {testsuite-work} [PATCH] tests: avoid spurious failures in cross-compile mode

2011-05-18 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Wed, May 18, 2011 at 06:19:55PM CEST: I will wait until tomorrow for a review, before pushing. I really don't have the time to do a close review right now, but can you use 'native' instead of 'non-cross' and go ahead with that? That would fit the lingo

Re: [FYI] {parallel-tests-maint} docs: parallel-tests is not experimental anymore

2011-05-15 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Wed, May 11, 2011 at 04:07:46PM CEST: The parallel-tests driver has now been used quite extensively by a fair number of real-world applications (e.g., GNU coreutils, GNU libtool, GNU grep, and various packages using Gnulib), and thus exposed to

Re: [FYI] {parallel-tests-maint} docs: parallel-tests is not experimental anymore

2011-05-15 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, May 15, 2011 at 04:10:29PM CEST: On Sunday 15 May 2011, Ralf Wildenhues wrote: Well, the point of declaring it experimental is being able to do at least slightly incompatible changes and mostly getting away with it. The changes might not just be needed

Re: [FYI] {maint} testsuite: be more cross-compile friendly

2011-05-15 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Sun, May 15, 2011 at 03:48:43PM CEST: I've applied the attached patch to 'maint', rather than to 'testsuite-work', only to make it easier to (potentially) backport tests for future bugfixing. I plan to check in fixes tests that don't currently work in cross-compile

Re: absolute or relative path for source files

2011-05-15 Thread Ralf Wildenhues
* Vincent Torri wrote on Sun, May 15, 2011 at 09:11:10PM CEST: Is it better to use absolute path: mylib_SOURCES = $(top_builddir)/path1/path2/file.c or relative path mylib_SOURCES = ../path2/file.c Both can be ok, but it is important that you don't mix both in the same makefile, as make

bug#8635: Some Fortran files don't have the extensions automake wants

2011-05-09 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, May 09, 2011 at 02:11:53PM CEST: --- a/automake.in +++ b/automake.in @@ -939,7 +939,7 @@ register_language ('name' = 'f77', 'lder' = 'F77LD', 'ld' = '$(F77)', 'pure' = 1, -'extensions' =

Re: [FYI] {maint} tests: fix spurious failure of txinfo21.test on FreeBSD

2011-05-09 Thread Ralf Wildenhues
[ apologies if you receive this multiple times ] Hi Stefano, * Stefano Lattarini wrote on Sat, May 07, 2011 at 03:02:02PM CEST: * tests/txinfo21.test: Use the `is_newest' subroutine instead of the `ls -t' hack to to determine whether a file has been updated. This is required because at least

summer is saved

2011-04-26 Thread Ralf Wildenhues
Hi Stefano, all, I have great news and not-so-great news: First, congratulations for your successful Summer of Code application! Second, my hope for review time last weekend was over-optimistic, sorry about that. I might have connectivity and time this coming weekend, but no promises. Things

bug#8526: [GNU Bison 2.4.588-2f658] testsuite: 74 75 76 77 78 79 80 81 82 141 149 185 186 188 189 190 191 195 247 250 287 289 291 293 295 296 297 298 299 300 301 302 304 305 306 307 310 311 failed

2011-04-20 Thread Ralf Wildenhues
* Jim Meyering wrote on Wed, Apr 20, 2011 at 02:43:46PM CEST: [TL;DR using automake.git, bison.git fails make distchecks non-srcdir build] /bin/sh ../build-aux/ylwrap ../src/scan-skel.l lex.yy.c src/scan-skel.c -- flex /w/bison/bison-2.4.593-a78a/_build/tests/bison: line 11:

Re: [PATCH] java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am

2011-04-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Apr 20, 2011 at 09:10:49AM CEST: On Wednesday 20 April 2011, Ralf Wildenhues wrote: I expect to be able for some review on Friday, maybe on Thursday after that, and then hopefully on March 3. I guess you mean May 3 here. Yeah; sorry. What about

Re: can't send to list

2011-04-20 Thread Ralf Wildenhues
Hello Daniel, * Neuberger, Daniel [USA] wrote on Wed, Apr 20, 2011 at 04:39:05PM CEST: Sorry that this is off topic (I couldn't find a more appropriate list though), but it seems that I cannot send to this list even though I'm subscribed. My initial subscription was with gmail and I got the

Re: Variable list modification

2011-04-20 Thread Ralf Wildenhues
Hello Justin, * Too, Justin A. wrote on Wed, Apr 20, 2011 at 11:33:26PM CEST: FOO=1 2 $(FOO:=bar) = 1bar 2bar. Is there a way to prepend bar? This is a GNU make question, or maybe a Posix make question, depending on what you target. In Posix make, the answer is no. With GNU make, you can

Re: Use partial relative path in LIBADD

2011-04-20 Thread Ralf Wildenhues
Hello Daniel, * Daniel Neuberger wrote on Wed, Apr 20, 2011 at 03:31:25PM CEST: Is there a way to translate this: libfoo_la_LIBADD = $(top_builddir)/some/path/libfoobar.la to this: libfoo_la_LIBADD = some/path/libfoobar.la with Automake? Unforteunately not; neither make, nor

Re: Implicitly specify compiler flags based on library dependencies

2011-04-20 Thread Ralf Wildenhues
Hello Daniel, * Daniel Neuberger wrote on Wed, Apr 20, 2011 at 03:56:15PM CEST: Is there any way to make a dependent library implicitly use any compiler flags used by a library on which it depends? Not automatically. libtool has 'inherited_linker_flags', but it is not appropriate for your use

Re: [PATCH] java: allow both dist_JAVA and nodist_JAVA in the same Makefile.am

2011-04-19 Thread Ralf Wildenhues
Hello Stefano, * Stefano Lattarini wrote on Mon, Apr 18, 2011 at 09:35:52PM CEST: I'll push in 72 hours if there is no objection. I expect to be able for some review on Friday, maybe on Thursday after that, and then hopefully on March 3. There might be occasions in between, but if you want to

Re: [FYI] {maint,master} test defs: allow overriding of `$me'

2011-04-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Apr 18, 2011 at 10:27:04AM CEST: On Monday 18 April 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Sun, Apr 17, 2011 at 09:36:42PM CEST: http://lists.gnu.org/archive/html/automake-patches/2011-02/msg00044.html That explains why, from

Re: [PATCH] test defs: don't allow `$me' to be overridden from the environment

2011-04-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Apr 18, 2011 at 12:33:25AM CEST: Subject: [PATCH] test defs: don't allow `$me' to be overridden from the environment * tests/defs.in ($me): Use the namespace-safe `$am_test_name' (if it's nonempty) as the default for the initialization of `$me', so that a

Re: [PATCH] test defs: don't allow `$me' to be overridden from the environment

2011-04-18 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Apr 18, 2011 at 09:26:30PM CEST: On Monday 18 April 2011, Ralf Wildenhues wrote: * Stefano Lattarini wrote on Mon, Apr 18, 2011 at 12:33:25AM CEST: Subject: [PATCH] test defs: don't allow `$me' to be overridden from the environment * tests/defs.in

  1   2   3   4   5   6   7   8   9   10   >