Accessing test root variable in Run tag

Christian Tornqvist christian.tornqvist at
Tue Jun 5 06:29:19 PDT 2012


I'm trying to use jtreg for running tests which requires native 
libraries, so my idea was to put the native libraries in a subfolder to 
the test root and run it using something like this:

@run main/othervm -Djava.library.path=$TESTSRC/native Test

So basically I want to be able to use paths relative to the test root in 
my @run tag, how would I do that? :)

Best regards,

More information about the jtreg-use mailing list