This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: PR16923
Jack Howarth wrote:
> How does one run single test cases from the dejangnu harness in
> libjava? I had expected that either...
>
> make -k check RUNTESTFLAGS="site.exp=libjava.jni/invocation/PR16923.c --target_board=unix'{-m32,-m64}'"
>
> or
>
> make -k check RUNTESTFLAGS="jni.exp=invocation/PR16923.c --target_board=unix'{-m32,-m64}'"
>
> would work in darwin_objdir/i686-apple-darwin9/libjava. However I can't seem to get the
> failing test case to run in this fashion. What am I missing here?
I think Tom Tromey knows how to do this; I can't remember.
But really, all you need to do to run it outside dejagnu is ensure that
the file PR16923.c exists in a directory named in the environment variable
CLASSPATH.
My CLASSPATH is .:/home/aph/gcc/trunk/libjava/testsuite/libjava.jni:/home/aph/gcc/trunk/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/testsuite:/home/aph/gcc/trunk/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/testsuite/../libgcj-4.4.0.jar
Andrew.