libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as...
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sat, 31 Jul 1999 23:52:52 +0000 (23:52 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 31 Jul 1999 23:52:52 +0000 (23:52 +0000)
commit5f67f48f90c767a2a8371bc4ddb5034a202e7488
treeae71ef2ab48ebcd8f0b335d3c39d72757df87681
parent71c7a006e5e9fbbee53687c4d93fe75a2e537bca
libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that
defaults to javac, as Sun-javac compiler or compatible.
(libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST
nor TOOL_EXECUTABLE are set.  Set `original_ld_library_path' from
environment.
(libjava_arguments): Prepend `.' and `$srcdir/$subdir' to
CLASSPATH, for `support' sources.  Search for libgcj.spec in
`$objdir/..', by adding -B to GCJ_UNDER_TEST.  Append
original_ld_library_path to ld_library_path.
* libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from
GCJ_UNDER_TEST, calculated just like in libjava.exp.

From-SVN: r28364
libjava/testsuite/ChangeLog
libjava/testsuite/lib/libjava.exp
libjava/testsuite/libjava.mauve/mauve.exp