Patchwork Committed, btest-gcc.sh: make fortran tests optional

login
register
mail settings
Submitter Hans-Peter Nilsson
Date Aug. 26, 2012, 7:31 p.m.
Message ID <201208261931.q7QJVPDB010672@ignucius.se.axis.com>
Download mbox | patch
Permalink /patch/180084/
State New
Headers show

Comments

Hans-Peter Nilsson - Aug. 26, 2012, 7:31 p.m.
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.


brgds, H-P

Patch

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"