Re: [PATCH 5/5] Tests required tools: also try `-v' option for GNU compilers.

2010-11-20 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Mon, Nov 15, 2010 at 06:27:43PM CET:
 * 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.

Did this help you for anything in any way?

Patch is OK.

Thanks,
Ralf



Re: [PATCH 5/5] Tests required tools: also try `-v' option for GNU compilers.

2010-11-20 Thread Stefano Lattarini
On Saturday 20 November 2010, Ralf Wildenhues wrote:
 * Stefano Lattarini wrote on Mon, Nov 15, 2010 at 06:27:43PM CET:
  * 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.
 
 Did this help you for anything in any way?
 
I dimly remember that it helped me with a botched g++ installation
(installation I did by hand for testing purposes, and which I
managed to mess up); but this happened more than a month ago (maybe
even two), so I'm not really sure anymore.  Sorry.

 Patch is OK.

Thanks!

Stefano



[PATCH 5/5] Tests required tools: also try `-v' option for GNU compilers.

2010-11-15 Thread Stefano Lattarini
* 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