From 8f241f6eaa8acbbe3f4b766a40a1bef7b45f56c2 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 8 Jun 2010 22:41:41 +0200 Subject: [PATCH] Factorize testing gcj installation in the testsuite. * tests/testsuite.at (LT_AT_TAG): For the GCJ tag, actually try to compile a .java file when deciding whether to skip. (LT_AT_EXEC_TAG): New macro, to also ensure runnability. * tests/convenience.at (Java convenience archives): Use LT_AT_EXEC_TAG, simplify accordingly. * tests/flags.at (passing lt_tag flags through libtool): Use m4_defn for tag so LT_AT_TAG works. * tests/infer-tag.at (GCJ inferred tag): Simplify. * THANKS: Update. Report by Warren Dodge. Signed-off-by: Ralf Wildenhues --- ChangeLog | 14 ++++++++++++++ THANKS | 1 + tests/convenience.at | 14 +++----------- tests/flags.at | 4 ++-- tests/infer-tag.at | 6 +----- tests/testsuite.at | 31 +++++++++++++++++++++++++++++-- 6 files changed, 50 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78b5d7d73..24de21d0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2010-06-09 Ralf Wildenhues + + Factorize testing gcj installation in the testsuite. + * tests/testsuite.at (LT_AT_TAG): For the GCJ tag, actually + try to compile a .java file when deciding whether to skip. + (LT_AT_EXEC_TAG): New macro, to also ensure runnability. + * tests/convenience.at (Java convenience archives): Use + LT_AT_EXEC_TAG, simplify accordingly. + * tests/flags.at (passing lt_tag flags through libtool): Use + m4_defn for tag so LT_AT_TAG works. + * tests/infer-tag.at (GCJ inferred tag): Simplify. + * THANKS: Update. + Report by Warren Dodge. + 2010-06-09 Peter O'Gorman Skip demo-nopic tests if SELinux policy will cause failure. diff --git a/THANKS b/THANKS index 14ab56b5f..dc61c4330 100644 --- a/THANKS +++ b/THANKS @@ -173,6 +173,7 @@ Tom Tromey tromey@cygnus.com Tor Lillqvist tml@iki.fi Ulrich Drepper drepper@ipd.info.uni-karlsruhe.de + Warren Dodge warren.l.dodge@Tektronix.com Vadim Zeitlin vz-libtool@zeitlins.org Vincent Lefevre vincent@vinc17.org Vincent Torri vtorri@univ-evry.fr diff --git a/tests/convenience.at b/tests/convenience.at index 339c59af7..f076e61a0 100644 --- a/tests/convenience.at +++ b/tests/convenience.at @@ -1,6 +1,7 @@ # convenience.at -- testing C convenience archives -*- Autotest -*- -# Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc. +# Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, +# Inc. # Written by Ralf Wildenhues, 2005 # # This file is part of GNU Libtool. @@ -227,7 +228,7 @@ AT_CLEANUP AT_SETUP([Java convenience archives]) -LT_AT_TAG([GCJ]) +LT_AT_EXEC_TAG([GCJ]) AT_KEYWORDS([libtool]) cat >foo1.java <