[PATCH 2/6] objc: test global, per-target, and user flags

2012-04-30 Thread Peter Breitenlohner
* t/objc-flags.sh: New test. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de --- t/objc-flags.sh | 73 +++ 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100755 t/objc-flags.sh diff --git a/t/objc-flags.sh

[PATCH 3/6] objc++: test automatic dependency tracking

2012-04-30 Thread Peter Breitenlohner
* t/objcxx-deps.sh: New test. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de --- t/objcxx-deps.sh | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) create mode 100755 t/objcxx-deps.sh diff --git a/t/objcxx-deps.sh b/t/objcxx-deps.sh

[PATCH 1/6] objc++: test global, per-target, and user flags

2012-04-30 Thread Peter Breitenlohner
* t/objcxx-flags.sh: New test. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de --- t/objcxx-flags.sh | 82 + 1 files changed, 82 insertions(+), 0 deletions(-) create mode 100755 t/objcxx-flags.sh diff --git a/t/objcxx-flags.sh

[PATCH 5/6] objc++: test more automatic dependency tracking

2012-04-30 Thread Peter Breitenlohner
* t/objcxx-deps2.sh: New test. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de --- t/objcxx-deps2.sh | 58 + 1 files changed, 58 insertions(+), 0 deletions(-) create mode 100755 t/objcxx-deps2.sh diff --git a/t/objcxx-deps2.sh

[PATCH 6/6] objc: test more automatic dependency tracking

2012-04-30 Thread Peter Breitenlohner
* t/objc-deps2.sh: New test. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de --- t/objc-deps2.sh | 49 + 1 files changed, 49 insertions(+), 0 deletions(-) create mode 100755 t/objc-deps2.sh diff --git a/t/objc-deps2.sh b/t/objc-deps2.sh

Re: [PATCH 1/5] objc++: initial support for Objective C++

2012-04-30 Thread Stefano Lattarini
Hi Peter, sorry for the delay. On 04/27/2012 10:19 AM, Stefano Lattarini wrote: From: Peter Breitenlohner p...@mppmu.mpg.de Original thread (dating back to almost three years ago): http://lists.gnu.org/archive/html/automake-patches/2009-07/msg00016.html * automake.in: Register new

Re: [PATCH] Skip the test when Autoconf is too old for ObjC++

2012-04-30 Thread Stefano Lattarini
On 04/28/2012 03:35 PM, Peter Breitenlohner wrote: Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de --- t/objcxx-demo.sh | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) I've folded in a slightly modified version of this patch. Thanks, Stefano

Re: [PATCH 1/5] objc++: initial support for Objective C++

2012-04-30 Thread Peter Breitenlohner
On Mon, 30 Apr 2012, Stefano Lattarini wrote: Unfortunately, this patch breaks automake with older autoconfs (e.g., 2.62), even when the Objective C++ is not used. For example: ... This is due to the unconditional use of 'AC_PROG_OBJCXX' in AM_INIT_AUTOMAKE. I've squashed in the diff

Re: [PATCH] Skip the test when Autoconf is too old for ObjC++

2012-04-30 Thread Stefano Lattarini
Hi Peter. Since the test 't/objcxx-basic.sh' was indeed failing with autoconf 2.62, I've folded in the following diff, inspired by your patch: diff --git a/t/objcxx-basic.sh b/t/objcxx-basic.sh index 50e1399..04a42a4 100755 --- a/t/objcxx-basic.sh +++ b/t/objcxx-basic.sh @@ -26,10

Re: [PATCH 1/5] objc++: initial support for Objective C++

2012-04-30 Thread Stefano Lattarini
On 04/30/2012 01:11 PM, Peter Breitenlohner wrote: On Mon, 30 Apr 2012, Stefano Lattarini wrote: Unfortunately, this patch breaks automake with older autoconfs (e.g., 2.62), even when the Objective C++ is not used. For example: ... This is due to the unconditional use of 'AC_PROG_OBJCXX'

Re: [PATCH 6/6] objc: test more automatic dependency tracking

2012-04-30 Thread Stefano Lattarini
Hi Peter, thanks for the patch. However, I've opted for a more semantic approach, implemented by the attached test case. Regards, Stefano objc-deps.sh Description: Bourne shell script

Re: [PATCH 5/6] objc++: test more automatic dependency tracking

2012-04-30 Thread Stefano Lattarini
Hi Peter, thanks for the patch. However, I've opted for a more semantic approach, implemented by the attached test case. Regards, Stefano objcxx-deps.sh Description: Bourne shell script

Re: [PATCH 3/6] objc++: test automatic dependency tracking

2012-04-30 Thread Stefano Lattarini
Hi Peter, thanks for the patch. However, I've opted for a more semantic approach, implemented by the test case attached to the patch [5/6] later in this series. Regards, Stefano

Re: [PATCH 5/6] objc++: test more automatic dependency tracking

2012-04-30 Thread Peter Breitenlohner
On Mon, 30 Apr 2012, Stefano Lattarini wrote: Hi Peter, thanks for the patch. However, I've opted for a more semantic approach, implemented by the attached test case. Hi Stefano, fine with me (except for a typo s/autocon,/autoconf,/. But please note that these tests will fail if gcc/g++

Re: [PATCH 3/5] objc++: test support for '.mm' suffix in _SOURCES enrries

2012-04-30 Thread Stefano Lattarini
On 04/27/2012 10:19 AM, Stefano Lattarini wrote: From: Peter Breitenlohner p...@mppmu.mpg.de * t/ext.sh: Enhance by adding a file with the '.mm' suffix in the 'foo_SOURCES' definition. * t/nodep2.sh: Likewise. Signed-off-by: Peter Breitenlohner p...@mppmu.mpg.de Signed-off-by: Stefano

Re: [PATCH 5/6] objc++: test more automatic dependency tracking

2012-04-30 Thread Stefano Lattarini
On 04/30/2012 03:31 PM, Peter Breitenlohner wrote: On Mon, 30 Apr 2012, Stefano Lattarini wrote: Hi Peter, thanks for the patch. However, I've opted for a more semantic approach, implemented by the attached test case. Hi Stefano, fine with me (except for a typo s/autocon,/autoconf,/.

[PATCH 0/3] Optimize some parallel-tests recipe

2012-04-30 Thread Stefano Lattarini
I will push this to maint in a couple of days if there is no objection. Reviews are most welcome. Regards, Stefano -*-*-*- Stefano Lattarini (3): coverage: add performance tests on some parallel-tests aspects parallel-tests: optimize 'recheck' target for speed parallel-tests: optimize

[PATCH 2/3] parallel-tests: optimize 'recheck' target for speed

2012-04-30 Thread Stefano Lattarini
With this change, the time required to execute the test case 'testsuite-recheck-speed.sh' has dropped as follows: + Slow Debian i686 system, 1 core x 1.5 GHz, 768 MB of RAM, GNU make 3.81: - 1 run: 6 minutes = 40 seconds + Fast Solaris 10 i686 system, 4 cores x 3 GHz, 20 GB of RAM,

[PATCH 1/3] coverage: add performance tests on some parallel-tests aspects

2012-04-30 Thread Stefano Lattarini
* t/testsuite-recheck-speed.sh: New test. * t/testsuite-summary-speed.sh: Likewise. * t/list-of-tests.mk: Update. The new tests are not meant to PASS/FAIL, but rather to help us to obtain quantitative measurements of the performance improvements offered by soon-to-appear optimization patches.

[PATCH 3/3] parallel-tests: optimize global log creation

2012-04-30 Thread Stefano Lattarini
With this change, the time required to execute the test case 'testsuite-summary-speed.sh' has dropped as follows: + Slow Debian i686 system, 1 core x 1.5 GHz, 768 MB of RAM, GNU make 3.81: - 1 run: 4 minutes = 30/40 seconds + Fast Solaris 10 i686 system, 4 cores x 3 GHz, 20 GB of

Re: [PATCH 0/3] Optimize some parallel-tests recipe

2012-04-30 Thread Stefano Lattarini
On 04/30/2012 05:54 PM, Stefano Lattarini wrote: I will push this to maint in a couple of days if there is no objection. Reviews are most welcome. Regards, Stefano -*-*-*- Stefano Lattarini (3): coverage: add performance tests on some parallel-tests aspects parallel-tests:

[PATCH 0/2] cygnus: deprecate and remove

2012-04-30 Thread Stefano Lattarini
The first patch deprecates support for Cygnus style-trees. It is meant to be applied to the 'maint' branch, so that it will appear in the next Automake maintenance version (1.12.1) The second patch removes support for Cygnus style-trees altogether. It is meant to be applied (on the top of the

[PATCH 2/2] cygnus: remove support for Cygnus-style trees

2012-04-30 Thread Stefano Lattarini
Support for Cygnus-style tree as enabled by the 'cygnus' option has been deprecated in the documentation and with runtime warning since Automake 1.12.1. It's now time to remove it. Closes automake bug#11034. * lib/Automake/Options.pm (_process_option_list): Issue a proper error when the

[PATCH 1/2] cygnus: warn when it's used (flagged as 'obsolete' now)

2012-04-30 Thread Stefano Lattarini
Support for Cygnus-style tree as enabled by the 'cygnus' option is now reported as obsolete when the warnings in the 'obsolete' category are enabled. See automake bug#11034. * automake.in (check_cygnus): Report the use of 'cygnus' mode as obsolete. * NEWS: Update. * docs/automake.texi: Minor

[FYI] {maint} color-tests: coloring can be forced on non-ANSI terminals as well

2012-04-30 Thread Stefano Lattarini
Before this change, colorization of testsuite output was suppressed whenever the terminal was recognized to be a dumb one, incapable of handling ANSI coloring (i.e., when the environment variable TERM had a value of dumb). This happened even when the AM_COLOR_TESTS variable was set to a value of

[FYI] {maint} sync: some auxiliary files synced from upstream

2012-04-30 Thread Stefano Lattarini
* lib/config.sub: Synced from upstream, by make fetch. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- lib/config.sub |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/config.sub b/lib/config.sub index c894da4..59bb593 100755 --- a/lib/config.sub

[FYI] {maint} readme: update INSTALL to latest version from Autoconf

2012-04-30 Thread Stefano Lattarini
* INSTALL: Updated to the version coming with Autoconf 2.69. This is warranted now that we use and require that same Autoconf version in our build system. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- INSTALL |8 1 file changed, 4 insertions(+), 4 deletions(-)

[FYI] {maint} news: put planned future backward-incompatibilities on top

2012-04-30 Thread Stefano Lattarini
* NEWS (New in 1.12): List of planned future backward-incompatibilities moved from here ... (New in 1.12.1): ... to here. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- NEWS | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff

[FYI] Merge branch 'maint' into master

2012-04-30 Thread Stefano Lattarini
commit de9e3447ddbaa5488d0d695611eeaa880b09a035 Merge: 1564671 99dc7ac Author: Stefano Lattarini stefano.lattar...@gmail.com Date: Mon Apr 30 22:07:15 2012 +0200 Merge branch 'maint' * maint: news: Automake 1.13 will require Autoconf = 2.65 news: put planned future

[PATCH 4/3] parallel-tests: save few forks when possible

2012-04-30 Thread Stefano Lattarini
* lib/am/check.am (am__check_pre): Save some forks, by analyzing more carefully the value of '$@' to decide how to extract its dirname part, and whether that should be created as a directory. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- And this trivial optimization could be

[FYI] {maint} fixup: remove leftover TERM=ansi definition in 'color.test'

2012-04-30 Thread Stefano Lattarini
It should have actually be removed in commit 'v1.12-23-gb105d40'. Signed-off-by: Stefano Lattarini stefano.lattar...@gmail.com --- t/color.sh |3 --- 1 file changed, 3 deletions(-) diff --git a/t/color.sh b/t/color.sh index c9fe302..c9a1ab9 100755 --- a/t/color.sh +++ b/t/color.sh @@ -19,9

Re: [FYI] {maint} news: Automake 1.13 will require Autoconf = 2.65

2012-04-30 Thread Dave Hart
On Mon, Apr 30, 2012 at 19:45, Stefano Lattarini stefano.lattar...@gmail.com wrote: +  - Autoconf 2.65 or later will be required by the next major Automake +    version (1.13).  Until now, Automake has been working with any +    Autoconf version up to 2.62. + Presumably you meant to write