This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed, btest-gcc.sh: make fortran tests optional
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 26 Aug 2012 21:31:25 +0200
- Subject: Committed, btest-gcc.sh: make fortran tests optional
Some targets, like mmix-knuth-mmixware, has fortran turned off.
This patch has seen a large amount of testing, both for targets
with fortran on and off. A similar patch in the past
(<http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00766.html>) made
the libstdc++ tests optional, so I'm calling it obvious.
Committed.
contrib/regression:
* btest-gcc.sh (TESTLOGS): Make gfortran.sum optional.
Index: btest-gcc.sh
===================================================================
--- btest-gcc.sh (revision 190670)
+++ btest-gcc.sh (working copy)
@@ -118,5 +118,4 @@ H_REAL_TARGET=`$SOURCE/config.sub $H_TAR
TESTLOGS="gcc/testsuite/gcc/gcc.sum
gcc/testsuite/g++/g++.sum
-gcc/testsuite/gfortran/gfortran.sum
gcc/testsuite/objc/objc.sum"
@@ -145,4 +145,8 @@ echo error > $RESULT || exit 1
make $dashj -k check
+if [ -f gcc/testsuite/gfortran/gfortran.sum ] ; then
+ TESTLOGS="$TESTLOGS gcc/testsuite/gfortran/gfortran.sum"
+fi
+
if [ -f $BUILD/$H_TARGET/libstdc++-v3/testsuite/libstdc++.sum ] ; then
TESTLOGS="$TESTLOGS $H_TARGET/libstdc++-v3/testsuite/libstdc++.sum"
brgds, H-P