At Sunday 04 July 2010, Stefano Lattarini wrote: > Maybe I'll subtitute this patch with a new > one which removes "gzip" from $required in the three > tests above Here it is (see the attachement).
Regards, Stefano -*-*-*- Do not require "gzip" in tests. The gzip utility is simply expected to be present on any decent target system for Automake. So it's pointless to put it in $required. * tests/install2.test ($required): Do not require "gzip". * tests/lex3.test: Likewise. * tests/pr9.test: Likewise. From a suggestion by Ralf Wildenhues. --- ChangeLog | 11 +++++++++++ tests/install2.test | 5 +++-- tests/lex3.test | 2 +- tests/pr9.test | 3 +--
From cb61b3db0e8ba1e2c096d7a46a091418e1367ab5 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini <stefano.lattar...@gmail.com> Date: Mon, 5 Jul 2010 01:23:16 +0200 Subject: [PATCH] Do not require "gzip" in tests. The gzip utility is simply expected to be present on any decent target system for Automake. So it's pointless to put it in $required. * tests/install2.test ($required): Do not require "gzip". * tests/lex3.test: Likewise. * tests/pr9.test: Likewise. From a suggestion by Ralf Wildenhues. --- ChangeLog | 11 +++++++++++ tests/install2.test | 5 +++-- tests/lex3.test | 2 +- tests/pr9.test | 3 +-- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 889e85d..5ac7b7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2010-07-02 Stefano Lattarini <stefano.lattar...@gmail.com> + Do not require "gzip" in tests. + The gzip utility is simply expected to be present on any decent + target system for Automake. So it's pointless to put it in + $required. + * tests/install2.test ($required): Do not require "gzip". + * tests/lex3.test: Likewise. + * tests/pr9.test: Likewise. + From a suggestion by Ralf Wildenhues. + +2010-07-02 Stefano Lattarini <stefano.lattar...@gmail.com> + Clobber global CFLAGS etc. when requiring GNU compilers. * tests/defs.in (require_compiler): Clobber global compiler flags variables (e.g. CFLAGS, CXXFLAGS, ...) when requiring a GNU diff --git a/tests/install2.test b/tests/install2.test index d1f27fe..3cc71f5 100755 --- a/tests/install2.test +++ b/tests/install2.test @@ -1,5 +1,6 @@ #! /bin/sh -# Copyright (C) 1999, 2000, 2001, 2002, 2006 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2010 Free Software +# Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,8 +18,8 @@ # Test for bug in `make dist' # From Pavel Roskin. -required=gzip . ./defs || Exit 1 + set -e cat > configure.in << 'END' diff --git a/tests/lex3.test b/tests/lex3.test index c026d10..76e9058 100755 --- a/tests/lex3.test +++ b/tests/lex3.test @@ -18,7 +18,7 @@ # Test associated with PR 19. # From Matthew D. Langston. -required='cc gzip flex GNUmake' +required='cc flex GNUmake' . ./defs || Exit 1 cat > configure.in << 'END' diff --git a/tests/pr9.test b/tests/pr9.test index dab9734..32c4af0 100755 --- a/tests/pr9.test +++ b/tests/pr9.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc. +# Copyright (C) 1999, 2001, 2002, 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,6 @@ # Test for bug in PR 9. -required=gzip . ./defs || Exit 1 cat > configure.in << 'END' -- 1.6.5