[kaffe] CVS kaffe (robilad): Fixed java.security lookup problems for regression tests

Kaffe CVS cvs-commits at kaffe.org
Sat Oct 2 11:04:05 PDT 2004


PatchSet 5237 
Date: 2004/10/02 18:00:18
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed java.security lookup problems for regression tests

2004-10-02  Dalibor Topic  <robilad at kaffe.org>

        * test/regression/TestScript.in:
        Fixed URL of java.security file for regressiopn tests.
        Added JAVA_TEST_FLAGS environment variable.

Members: 
	ChangeLog:1.2791->1.2792 
	test/regression/TestScript.in:1.43->1.44 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2791 kaffe/ChangeLog:1.2792
--- kaffe/ChangeLog:1.2791	Fri Oct  1 15:02:27 2004
+++ kaffe/ChangeLog	Sat Oct  2 18:00:18 2004
@@ -1,3 +1,9 @@
+2004-10-02  Dalibor Topic  <robilad at kaffe.org>
+
+	* test/regression/TestScript.in:
+	Fixed URL of java.security file for regressiopn tests.
+	Added JAVA_TEST_FLAGS environment variable.
+
 2004-09-29  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* kaffe/kaffevm/thread.c, kaffe/kaffevm/thread.h
Index: kaffe/test/regression/TestScript.in
diff -u kaffe/test/regression/TestScript.in:1.43 kaffe/test/regression/TestScript.in:1.44
--- kaffe/test/regression/TestScript.in:1.43	Sat Sep 25 22:06:40 2004
+++ kaffe/test/regression/TestScript.in	Sat Oct  2 18:00:20 2004
@@ -68,8 +68,11 @@
 {
 	RESULT="$1.fail"
 	TMPRESULT="$1.tmp"
-	$VERBOSE $JAVA $*
-	env CLASSPATH=${CLASSPATH}${PATHSEP}run_time $JAVA $* <&0 >$TMPRESULT 2>&1 &
+	# Use security provider from source code
+#	SECURITY_PROVIDER_URL=-Dgnu.classpath.home.url=file://@top_srcdir@/libraries/clib/
+	SECURITY_PROVIDER_URL="-Dgnu.classpath.home.url=file://`pwd`/@top_srcdir@/libraries/clib/"
+	$VERBOSE $JAVA $SECURITY_PROVIDER_URL ${JAVA_TEST_FLAGS} $*
+	env CLASSPATH=${CLASSPATH}${PATHSEP}run_time $JAVA $SECURITY_PROVIDER_URL ${JAVA_TEST_FLAGS} $* <&0 >$TMPRESULT 2>&1 &
 	error=$?
 	pid=$!
 	$VERBOSE "Background pid: $pid"




More information about the kaffe mailing list