* 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 <stefano.lattar...@gmail.com>
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  <stefano.lattar...@gmail.com>
 
+	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

Reply via email to