This is the mail archive of the gcc-patches@gcc.gnu.org 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]

add libraries to regression tester


Now that the tester is passing again, I think it's time to bring
libstdc++ and libjava into its database.

Not tested at all, hope this works!

-- 
- Geoffrey Keating <geoffk@apple.com>

===File ~/patches/regress-libtests.patch====================
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/contrib/regression/ChangeLog,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 ChangeLog
--- ChangeLog	13 May 2004 19:06:56 -0000	1.9
+++ ChangeLog	26 Oct 2004 08:29:09 -0000
@@ -1,3 +1,8 @@
+2004-10-26  Geoffrey Keating  <geoffk@apple.com>
+
+	* btest-gcc.sh (TESTLOGS): Examine regressions in libstdc++,
+	libffi, and libjava.
+
 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
 
 	* btest-gcc.sh: Remove g77.sum from TESTLOGS.
Index: btest-gcc.sh
===================================================================
RCS file: /cvs/gcc/gcc/contrib/regression/btest-gcc.sh,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 btest-gcc.sh
--- btest-gcc.sh	13 May 2004 19:06:56 -0000	1.8
+++ btest-gcc.sh	26 Oct 2004 08:29:09 -0000
@@ -98,10 +98,8 @@ H_REAL_TARGET=`$SOURCE/config.sub $H_TAR
 # look at.
 TESTLOGS="gcc/testsuite/gcc.sum
 gcc/testsuite/g++.sum
-gcc/testsuite/objc.sum"
-# $H_TARGET/libstdc++-v3/testsuite/libstdc++-v3.sum
-# $H_TARGET/libjava/testsuite/libjava.sum
-# $H_TARGET/libffi/testsuite/libffi.sum
+gcc/testsuite/objc.sum
+$H_TARGET/libstdc++-v3/testsuite/libstdc++-v3.sum"
 
 # Build.
 echo build > $RESULT
@@ -127,9 +125,15 @@ make check-target-libstdc++-v3
 
 # Test libffi
 make check-target-libffi
+if [ -f $BUILD/$H_TARGET/libffi/testsuite/libffi.sum ] ; then
+  TESTLOGS="$TESTLOGS $H_TARGET/libffi/testsuite/libffi.sum"
+fi
 
 # Test libjava
 make check-target-libjava
+if [ -f $BUILD/$H_TARGET/libjava/testsuite/libjava.sum ] ; then
+  TESTLOGS="$TESTLOGS $H_TARGET/libjava/testsuite/libjava.sum"
+fi
 
 # Test the just-built GCC with the GDB testsuite.
 if [ -d $GDB_TESTSUITE ] ; then
============================================================


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