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 ':[

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: [PATCH v4 3/3] parallel-tests: allow each test to have multiple results

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Ralf Wildenhues wrote: * 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

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

2011-06-21 Thread Jim Meyering
Stefano Lattarini wrote: On Tuesday 21 June 2011, Ralf Wildenhues wrote: * 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),

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

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Ralf Wildenhues wrote: * 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. D'oh. I'll

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

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Jim Meyering wrote: Stefano Lattarini wrote: On Tuesday 21 June 2011, Ralf Wildenhues wrote: * 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

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

2011-06-21 Thread Stefano Lattarini
On Monday 20 June 2011, Stefano Lattarini wrote: [SNIP] To quote from the added NEWS entry: - The parallel-tests driver is now implemented (partly at least) with the help of automake-provided auxiliary scripts (e.g., `test-driver'), instead of relying entirely on code in the

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

2011-06-21 Thread Jim Meyering
Stefano Lattarini wrote: ... I've seen a few projects that require their automake-managed tests be run sequentially. I suspect that some maintainers will not be eager to adapt their tests to run in parallel solely to accommodate a newer version of automake. If you have only a dozen or so

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

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Ralf Wildenhues wrote: Ugh; 1/2 seems to be going into the wrong direction of changing test code to work around suboptimal maintainer checks, so sorry for leading you on a wrong path there again. 2/2 seems fine, thanks. So should I drop the first patch

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

[PATCHES v5] Allow custom testsuite drivers in Automake

2011-06-21 Thread Stefano Lattarini
Hopefully the last iteration of the patches. A follow-up for extending and fixing the documentation will go in a new thread. Regards, Stefano

[PATCH v5 2/3] parallel-tests: allow custom driver scripts

2011-06-21 Thread Stefano Lattarini
Allow suffix-based definition of custom driver script for the test scripts. These driver scripts will be responsible of launching the tests (or their corresponding $(LOG_COMPILER), if they have an associated one), interpreting and displaying the test results, and writing the `.log' files. This

[PATCH] {master} tests: interactions between TESTS_ENVIRONMENT and LOG_COMPILER

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Stefano Lattarini wrote: On Monday 20 June 2011, Stefano Lattarini wrote: [SNIP] To quote from the added NEWS entry: - The parallel-tests driver is now implemented (partly at least) with the help of automake-provided auxiliary scripts (e.g.,

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

2011-06-21 Thread Stefano Lattarini
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 planned support for test protocols, like TAP and SubUnit, which can indeed run

[PATCH v5 1/3] parallel-tests: add auxiliary script 'test-driver', refactor

2011-06-21 Thread Stefano Lattarini
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 features out of the Automake-generated Makefiles, and into external

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: [PATCHES v5] Allow custom testsuite drivers in Automake

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Ralf Wildenhues wrote: * 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

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 Stefano Lattarini
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 before considering the am--refresh target. The comment up here ^^^ needs to

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: [PATCH] {maint} remake: behave better with non-GNU make in subdirectories

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Ralf Wildenhues wrote: 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 doesn't I think. See the

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

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Ralf Wildenhues wrote: * 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

Re: Choosing man section at configure time

2011-06-21 Thread Stefano Lattarini
On Tuesday 21 June 2011, Harlan Stenn wrote: I'm trying to allow the selection of target man sections for each man page at configure time. 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

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: Choosing man section at configure time

2011-06-21 Thread Harlan Stenn
Ralf, That works just fine - thanks! H

Re: Choosing man section at configure time

2011-06-21 Thread Harlan Stenn
Hi Stefano, Thanks for the suggestion - it was pretty much along the lines I thought I'd have to go before Ralf posted. H

tar-pax or tar-ustar as a default for automake

2011-06-21 Thread Javier Jardón
Hello, I'd like to know if there is a plan to switch to tar-pax or tar-ustar (seems that pax support is broken in openbsd) as a default tar format. Currently we have some problem in GNOME project with some modules because the limitations of the current tar format I'd like to know if would be

Re: tar-pax or tar-ustar as a default for automake

2011-06-21 Thread Bob Friesenhahn
On Tue, 21 Jun 2011, Javier Jardón wrote: I'd like to know if there is a plan to switch to tar-pax or tar-ustar (seems that pax support is broken in openbsd) as a default tar format. Currently we have some problem in GNOME project with some modules because the limitations of the current tar

Re: tar-pax or tar-ustar as a default for automake

2011-06-21 Thread Russ Allbery
Bob Friesenhahn bfrie...@simple.dallas.tx.us writes: Does automake depend on 'tar' being GNU tar? If it will use any old tar, then one would assume that it uses the default output format since otherwise it might not know how to request some other format variant. If it it used 'pax' then the

Re: tar-pax or tar-ustar as a default for automake

2011-06-21 Thread Bob Friesenhahn
On Tue, 21 Jun 2011, Russ Allbery wrote: The problem, of course, being that pax probably isn't available, which makes it hard for a default choice. As per WikiPedia: Despite being standardized in 2001 by IEEE, as of 2010, pax enjoys relatively little popularity and penetration rate. pax

Re: tar-pax or tar-ustar as a default for automake

2011-06-21 Thread Russ Allbery
Bob Friesenhahn bfrie...@simple.dallas.tx.us writes: pax is required to be present in all conformant systems by Linux Standard Base since version 3.0 (released on July 6, 2005),[2] but so far few Linux distributions ship and install it by default. However, most distributions include pax as a