This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA:] contrib/regression/ (TESTLOGS): Make libstdc++.sum optional

This was useful when testing m68hc11-elf, which would otherwise
turn up as "build".  (Not that the test-results for that port
were very meaningful, but this patch seems likely to help
testing a port in progress.)

The patch contains some redundancy, prone to attract typos
($H_TARGET/libstdc++-v3/testsuite/libstdc++.sum twice) but I
thought best to follow the existing style.  Tested a couple of
times on other cross systems too.

	* (TESTLOGS): Make libstdc++.sum optional.

RCS file: /cvs/gcc/gcc/contrib/regression/,v
retrieving revision 1.10
diff -c -p -u -p -r1.10
cvs diff: conflicting specifications of output style
---	27 Oct 2004 18:19:41 -0000	1.10
+++	7 Apr 2005 14:41:00 -0000
@@ -1,7 +1,7 @@
 #  Test GCC.
-#  Copyright (C) 1999, 2000, 2001, 2002  Free Software Foundation, Inc.
+#  Copyright (C) 1999, 2000, 2001, 2002, 2005  Free Software Foundation, Inc.
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
@@ -98,8 +98,7 @@ H_REAL_TARGET=`$SOURCE/config.sub $H_TAR
 # look at.
 # Build.
 echo build > $RESULT
@@ -122,6 +121,9 @@ make -k check-gcc
 # Test libstd++-v3
 make check-target-libstdc++-v3
+if [ -f $BUILD/$H_TARGET/libstdc++-v3/testsuite/libstdc++.sum ] ; then
+  TESTLOGS="$TESTLOGS $H_TARGET/libstdc++-v3/testsuite/libstdc++.sum"
 # Test libffi
 make check-target-libffi

brgds, H-P

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]