Accessing test root variable in Run tag

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Accessing test root variable in Run tag

Christian Tornqvist
Hi,

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,
Christian