1 // Copyright (c) 1998, 1999 Free Software Foundation
3 // Written by Tom Tromey <tromey@cygnus.com>
7 public class DejaGNUTestHarness
extends SimpleTestHarness
9 static String dejasrcdir
;
11 public String
getSourceDirectory ()
16 private DejaGNUTestHarness ()
18 super (/* verbose */ true, /* debug */ false);
21 public static void main (String
[] args
)
23 dejasrcdir
= args
.length
> 0 ? args
[0] : "";
24 DejaGNUTestHarness harness
= new DejaGNUTestHarness ();
25 // This might seem weird, given that we check args.length above.
26 // However, in some cases the expect code rewrites this runtest
27 // invocation to have an explicit name for the test to run.
28 harness
.runtest (args
[1]);
29 System
.exit(harness
.done());