From 1e3fc905b227741b6e96f8d9d11584555a424c50 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 12 Nov 2010 17:18:09 +0100 Subject: [PATCH] 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 | 7 +++++++ tests/defs | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 480a9e672..b3f0e4920 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-12 Stefano Lattarini + + 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. + 2010-11-12 Stefano Lattarini Ralf Wildenhues diff --git a/tests/defs b/tests/defs index bb1625528..02f9ad07e 100644 --- a/tests/defs +++ b/tests/defs @@ -186,6 +186,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 @@ -200,6 +202,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 -- 2.47.2