This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]