[PATCH] {maint} Extend, fix and improve tests on Lex and Yacc support.

2010-09-08 Thread Stefano Lattarini
A cruder version of this patch have been posted as part of the patch series "Lex, Yacc and explicit declarations of dependencies". However, IMHO it would make sense to include it in the "maint" branch, since it offers useful improvements as is, indipendently from the fact that the patch series m

[FYI] regenerate Makefile.in to sync with previous commits

2010-09-08 Thread Stefano Lattarini
Ouch. I forgot to regenerate Makefile.in from Makefile.am before pushing to maint the two last commits. This follow-up patch fixes that. Pushed to maint. Sorry for the noise & confusion, Stefano -*-*- regenerate Makefile.in to sync with previous commits --- tests/Makefile.in |9 +-

[SIMPLE PATCH] {maint} Do not require "gzip" explicitly in tests.

2010-09-08 Thread Stefano Lattarini
Hi Ralf. Since the patch series "Fix/improve requirements declaration for test scripts" is starting to fall hopelessly out of sync with the state of the master branch (and this situation will only be worsened by the on-going refactoring of tests/defs.in in the "tests-init" branch), what about ap

Re: CUDA and automake

2010-09-08 Thread Adam Mercer
On Wed, Sep 8, 2010 at 14:03, Ralf Wildenhues wrote: > There is a thread with some ideas from Tomas Oberhuber on the automake > list, too. Thanks, I'll take a look. >> Is there something missing from these patches? > > I'm not going to look. Understandable. Cheers Adam

Re: [PATCH] Modernize, improve and/or extend test scripts `conf*.test'.

2010-09-08 Thread Stefano Lattarini
On Wednesday 08 September 2010, Ralf Wildenhues wrote: > Ah ok, I didn't think of that. Patch is better the way you posted > it then. Pushed (to maint only, no master/branch-1.11 merges). Regards, Stefano

[PATCH 5/5] Tests defs: improve messages for skipped tests.

2010-09-08 Thread Stefano Lattarini
* tests/defs.in: Give meaningful messages about the reasons of a test skip; this is especially useful as this file is run without verbose xtraces on. Related reorderings in the code and new comments. --- ChangeLog |6 tests/defs.in | 80 +

Re: CUDA and automake

2010-09-08 Thread Ralf Wildenhues
* Adam Mercer wrote on Wed, Sep 08, 2010 at 08:54:30PM CEST: > I've started looking at implementing CUDA support for automake and > going through the list archives I've found the following post: > > There is a thread with

[PATCH 4/5] Tests defs: do not print message "Running test $0" anymore.

2010-09-08 Thread Stefano Lattarini
* tests/defs.in: Printing the message "=== Running test $0" at the beginning of each tests made sense when Automake used the old test-driver, which sent all the output directly to stdout/stderr. Now that the parallel test-driver is used, which saves output of each test in its correspoding log file,

CUDA and automake

2010-09-08 Thread Adam Mercer
Hi I've started looking at implementing CUDA support for automake and going through the list archives I've found the following post: This has similar changes to what I was working on, there doesn't seem to be any further

[PATCH 3/5] Tests defs: rename $curdir -> $testbuilddir

2010-09-08 Thread Stefano Lattarini
* tests/defs.in: Rename $curdir to $testbuildir, for clarity and consistency with $testsrcidr and $top_testsrcdir. --- ChangeLog |4 tests/defs.in | 14 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) From 0c2940be6ecd0ae395a966b738b1e0e98d4b597b Mon Sep 17 00:00:00

[PATCH 2/5] Tests defs: prefer "$curdir" over "`pwd`", where possible.

2010-09-08 Thread Stefano Lattarini
* tests/defs.in: We already save the value of `pwd` in $curdir early in the file, so there no need to recalculate it later, when the current working directory is not changed. --- ChangeLog |5 + tests/defs.in |4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) From fde4cb863c

[PATCH 1/5] Tests defs: various reorderings, some improvements.

2010-09-08 Thread Stefano Lattarini
This patch reorders various bits of the `tests/defs.in' file, to give it a clearer, more "rational" layout. The sections are now organized as follows: 1. Shell and environment sanitization (plus some early initializations, like those of `$testsrcdir', `$curdir' and `$me'). 2. Initializati

[PATCH 0/5] More cosmetic and consistency changes for tests/defs (both tiny and large)

2010-09-08 Thread Stefano Lattarini
Stefano Lattarini (5): Tests defs: various reorderings, some improvements. Tests defs: prefer "$curdir" over "`pwd`", where possible. Tests defs: rename $curdir -> $testbuilddir Tests defs: do not print message "Running test $0" anymore. Tests defs: improve messages for skipped tests. C

Re: [PATCH] Modernize, improve and/or extend test scripts `conf*.test'.

2010-09-08 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Sep 08, 2010 at 08:45:15PM CEST: > On Wednesday 08 September 2010, Ralf Wildenhues wrote: > > * Stefano Lattarini wrote on Tue, Sep 07, 2010 at 12:19:02PM CEST: > > > + echo ' ' $(DIST_COMMON) ' ' | grep '[ /]acconfig\.h ' > > > > Just curious, but why not > >

Re: [PATCH] Modernize, improve and/or extend test scripts `conf*.test'.

2010-09-08 Thread Stefano Lattarini
Hi Ralf, thanks for the review. On Wednesday 08 September 2010, Ralf Wildenhues wrote: > * Stefano Lattarini wrote on Tue, Sep 07, 2010 at 12:19:02PM CEST: > > What about the attached patch (for maint)? > > OK, thanks! I have a question below, though. > > > As an aside, I'd like to vouch again

Re: [PATCH] Modernize, improve and/or extend test scripts `conf*.test'.

2010-09-08 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Tue, Sep 07, 2010 at 12:19:02PM CEST: > What about the attached patch (for maint)? OK, thanks! I have a question below, though. > As an aside, I'd like to vouch again for my patch "Refactoring > maintainer checks (use perl, add whitelisting)", which would > provide

Re: [SIMPLE PATCH] {maint} Remove useless whitespace padding in XFAIL_TESTS definition.

2010-09-08 Thread Ralf Wildenhues
Hi Stefano, * Stefano Lattarini wrote on Wed, Sep 08, 2010 at 12:59:20PM CEST: > Subject: [PATCH] Remove useless whitespace padding in XFAIL_TESTS definition. > > * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding. This is trading better formatting for some expected merge errors in the

Re: [SIMPLE PATCH] {maint} Remove useless whitespace padding in XFAIL_TESTS definition.

2010-09-08 Thread Stefano Lattarini
On Wednesday 08 September 2010, Ralf Wildenhues wrote: > Hi Stefano, > > * Stefano Lattarini wrote on Wed, Sep 08, 2010 at 12:59:20PM CEST: > > Subject: [PATCH] Remove useless whitespace padding in XFAIL_TESTS > > definition. > > > > * tests/Makefile.am (XFAIL_TESTS): Remove whitespace padding. >

[SIMPLE PATCH] {maint} Remove useless whitespace padding in XFAIL_TESTS definition.

2010-09-08 Thread Stefano Lattarini
The current definition of $(XFAIL_TESTS) in tests/Makefile.am contains useless white-space padding, which is just annoying when new entries are to be added to that variable (I noticed this while working recently on branch "pot-primary"). The attached very simple patch removes the useless padding.

Re: automake po / pot file integration: first tests available

2010-09-08 Thread Stefano Lattarini
On Tuesday 07 September 2010, Bruno Haible wrote: > Hi Stefano, > > > OK to push with the attached change squashed in? > > Yes, this is fine. Please push! Pushed now. Regards, Stefano