db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "JunitVmIssues" by DanDebrunner
Date Tue, 17 Oct 2006 20:23:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:

New page:
= Platform specific notes for Derby's JUnit tests =
== WCTME 5.7 Foundation (windows) ==

See [http://issues.apache.org/jira/browse/DERBY-1785 DERBY-1785]

A bug in the WCTME 5.7 JVM stops running the JUnit tests as the security manager does not
pick up the policy file
unless the `java.security.policy` property is set on the command line (using `-D`). This can
be worked around by setting
a number of properties on the command line when running WCTME 5.7.

These properties are for when the tests are being run against the `classes` folder.
Investigation is needed for the correct set to run with jar files.

|| '''Property''' || '''Value''' ||
|| `derbyTesting.serverhost` || `host` (fixed value will be ignored) ||
|| `derbyTesting.clienthost` || `host` (fixed value will be ignored) ||
|| `derbyTesting.codeclasses` || URL to classes folder ||
|| `java.security.policy` || URL to derby_tests.policy in the classes folder ||
|| `derby.system.home` ||  Full path to the system folder in the current folder ($PWD/system).
The system folder need not exist, it will be created by Derby. ||

/cygdrive/c/_work/wctme5.7/ive/bin/j9 -jcl:foun10
   -DderbyTesting.serverhost=host -DderbyTesting.clienthost=host
   -cp 'c:\_work\derby\trunk\classes;c:\_work\derby\trunk\tools\java\junit.jar'
   junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All

View raw message