[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 14v2/14] Do not require "gzip" in tests.
From: |
Stefano Lattarini |
Subject: |
[PATCH 14v2/14] Do not require "gzip" in tests. |
Date: |
Mon, 5 Jul 2010 01:26:57 +0200 |
User-agent: |
KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; ) |
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 <address@hidden>
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 <address@hidden>
+ 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 <address@hidden>
+
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
- [PATCH 09/14] Refactor code requiring compilers in testsuite., (continued)
- [PATCH 09/14] Refactor code requiring compilers in testsuite., Stefano Lattarini, 2010/07/02
- [PATCH 10/14] Tests: new requirements "fortran" and "fortran77", Stefano Lattarini, 2010/07/02
- [PATCH 11/14] Fix code for requiring gfortran in tests., Stefano Lattarini, 2010/07/02
- [PATCH 12/14] Refactor code requiring compilers in testsuite., Stefano Lattarini, 2010/07/02
- [PATCH 13/14] Clobber global CFLAGS etc. when requiring GNU compilers., Stefano Lattarini, 2010/07/02
- Re: [PATCH 0/14] Fix/improve requirements declaration for test scripts., Stefano Lattarini, 2010/07/02
- [PATCH 14/14] Make sure all tests needing gzip require it explicitly., Stefano Lattarini, 2010/07/02