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]

Make testsuite working for me



Trying to run the tests in libstdc++ I always got (using a recent
dejagnu (9801?):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rootme=`pwd`; export rootme; \
srcdir=../../../../egcs-cvs/libstdc++/testsuite ; export srcdir ; \
EXPECT=`if [ -f ${rootme}/../../expect/expect ] ; then echo ${rootme}/../../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../../expect/expect ] ; then  \
  TCL_LIBRARY=${srcdir}/../../tcl/library ; \
  export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../../dejagnu/runtest ] ; then echo ${srcdir}/../../dejagnu/runtest ; else echo runtest; fi`  
WARNING: Couldn't find tool init file
Test Run By aj on Thu May 28 11:04:02 1998
Native configuration is i486-pc-linux-gnu

                === runtest tests ===

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I finally tracked this down to a missing '--tool libstdc++' when
calling runtest.

I'm appending a small patch for libstdc++ and also libio which has the 
same problem for me.  

Andreas


1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* libstdc++/testsuite/Makefile.in (just-check): Add --tool libstdc++.

	* libstio/testsuite/Makefile.in (just-check): Add --tool libstdc++.

Index: libstdc++/testsuite/Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libstdc++/testsuite/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- libstdc++/testsuite/Makefile.in	1997/08/26 18:28:26	1.2
+++ libstdc++/testsuite/Makefile.in	1998/05/28 09:21:02
@@ -63,4 +63,4 @@
 	if [ -f $${rootme}/../../expect/expect ] ; then  \
 	  TCL_LIBRARY=$${srcdir}/../../tcl/library ; \
 	  export TCL_LIBRARY ; fi ; \
-	$(RUNTEST) $(RUNTESTFLAGS) 
+	$(RUNTEST) --tool libstdc++ $(RUNTESTFLAGS) 

--- libio/testsuite/Makefile.in.~1~	Tue Jan 13 21:48:38 1998
+++ libio/testsuite/Makefile.in	Thu May 28 11:24:57 1998
@@ -86,4 +86,4 @@
 	if [ -f $${rootme}/../../expect/expect ] ; then  \
 	  TCL_LIBRARY=$${srcdir}/../../tcl/library ; \
 	  export TCL_LIBRARY ; fi ; \
-	$(RUNTEST) $(RUNTESTFLAGS) 
+	$(RUNTEST) --tool=libio $(RUNTESTFLAGS) 

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de


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