This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


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

3.0.1 PATCH: Pass RUNTESTFLAGS to libjava subdirs


While running the libjava testsuite on mips-sgi-irix6.5, I noticed that it
was run only once despite RUNTESTFLAGS being set to

	--target_board "unix{,-mabi=64}"

to test both the N32 and N64 ABIs.  The following patch fixes this, and
allows the -mabi=64 compilation tests to pass, which aren't run at all
otherwise.

Unfortunately, the -mabi=64 link tests fail due to the same problem present
in the libstdc++-v3 testsuite: the libjava toplevel Makefile passes in all
the -L flags pointing the the default multilib subdirectories
(i.e. mips-sgi-irix6.5/libjava/.libs and corresponding dirs for boehm-gc, ...)
instead of having the dejagnu framework figure out the correct directory
corresponding to the multilib flags.  I still have to figure out how best
to fix this.

Ok for branch and mainline?

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE


Sat Jul 21 00:53:17 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* Makefile.am (AM_MAKEFLAGS): Pass RUNTESTFLAGS.
	Makefile.in: Regenerate.

Index: libjava/Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.129.2.14
diff -u -p -r1.129.2.14 Makefile.am
--- Makefile.am	2001/07/18 16:56:32	1.129.2.14
+++ Makefile.am	2001/07/23 21:52:55
@@ -1422,6 +1422,7 @@ AM_MAKEFLAGS = \
 	"PICFLAG=$(PICFLAG)" \
 	"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
 	"SHELL=$(SHELL)" \
+	"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
 	"exec_prefix=$(exec_prefix)" \
 	"infodir=$(infodir)" \
 	"libdir=$(libdir)" \


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