From 4e8b21e113d49633c55004217bd26dab8b5d7401 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 5 Jul 2010 01:23:16 +0200 Subject: [PATCH] Do not require "gzip" explicitly 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 | 9 +++++++++ tests/install2.test | 5 +++-- tests/lex3.test | 2 +- tests/pr9.test | 1 - 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9444b66f8..2334c5c7b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2010-09-08 Stefano Lattarini + Do not require "gzip" explicitly 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. + Make some `confh*.test' tests more "semantic" (plus tweakings). * tests/confh.test: Run "autoconf", "configure" and "make check", instead of munging/grepping the generated `Makefile.in'. diff --git a/tests/install2.test b/tests/install2.test index d1f27fecc..3cc71f552 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 178a54fd0..c4120cfc6 100755 --- a/tests/lex3.test +++ b/tests/lex3.test @@ -18,7 +18,7 @@ # Test associated with PR 19. # From Matthew D. Langston. -required='gcc gzip flex GNUmake' +required='gcc flex GNUmake' . ./defs || Exit 1 # Ignore user CFLAGS. diff --git a/tests/pr9.test b/tests/pr9.test index 4638b5203..a2e71d729 100755 --- a/tests/pr9.test +++ b/tests/pr9.test @@ -23,7 +23,6 @@ # ltconfig, ltmain.sh, mdate-sh, missing, and mkinstalldirs. In fact, # the entire `support/' directory is omitted. -required=gzip . ./defs || Exit 1 set -e -- 2.47.2