[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] Tests required tools: also try `-v' option for GNU compilers
From: |
Stefano Lattarini |
Subject: |
[PATCH 5/5] Tests required tools: also try `-v' option for GNU compilers. |
Date: |
Mon, 15 Nov 2010 18:27:43 +0100 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
* tests/defs.in: In the loop on "$required" tools, for gcc
and g++, also run "gcc -v" (resp. "g++ -v"), to get more
information, and for consistency with gcj.
---
ChangeLog | 5 +++++
tests/defs | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
From d487ed740f47a9ec82bb8b99d886e2af411cd942 Mon Sep 17 00:00:00 2001
From: Stefano Lattarini <address@hidden>
Date: Fri, 12 Nov 2010 17:18:09 +0100
Subject: [PATCH 5/5] Tests required tools: also try `-v' option for GNU
compilers.
* tests/defs.in: In the loop on "$required" tools, for gcc
and g++, also run "gcc -v" (resp. "g++ -v"), to get more
information, and for consistency with gcj.
---
ChangeLog | 5 +++++
tests/defs | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c0f4e48..5a4ee7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-11-12 Stefano Lattarini <address@hidden>
+ Tests required tools: also try `-v' option for GNU compilers.
+ * tests/defs.in: In the loop on "$required" tools, for gcc
+ and g++, also run "gcc -v" (resp. "g++ -v"), to get more
+ information, and for consistency with gcj.
+
Tests defs: avoid some useless subshells.
* tests/defs: In the loop on "$required" tools: avoid subshells
where not neded.
diff --git a/tests/defs b/tests/defs
index b67a695..3b94d75 100644
--- a/tests/defs
+++ b/tests/defs
@@ -197,6 +197,8 @@ do
export CC
echo "$me: running $CC --version"
$CC --version || exit 77
+ echo "$me: running $CC -v"
+ $CC -v || exit 77
;;
gcj)
GCJ=gcj
@@ -211,6 +213,8 @@ do
export CXX
echo "$me: running $CXX --version"
$CXX --version || exit 77
+ echo "$me: running $CXX -v"
+ $CXX -v || exit 77
;;
icc)
CC=icc
--
1.7.1
- [PATCH 0/5] More patches for the tests-init branch, Stefano Lattarini, 2010/11/15
- [PATCH 3/5] Tests defs: some cleanup and minor fixes., Stefano Lattarini, 2010/11/15
- [PATCH 2/5] Tests defs: new subroutine `skip' for test skipping., Stefano Lattarini, 2010/11/15
- [PATCH 1/5] Tests defs: don't let useless variables leak in test scripts., Stefano Lattarini, 2010/11/15
- Re: [PATCH 0/5] More patches for the tests-init branch, Ralf Wildenhues, 2010/11/20