diff options
| author | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-05 01:47:27 +0000 |
|---|---|---|
| committer | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-05 01:47:27 +0000 |
| commit | bb5ceab83627389f31a3af855f6a60f16e30613b (patch) | |
| tree | 4f40f4619690f89454614be0eba63d584d25523e /libjava/testsuite/lib/libjava.exp | |
| parent | 356a40280433192f7d85e53896627ae96b05eed6 (diff) | |
| download | ppe42-gcc-bb5ceab83627389f31a3af855f6a60f16e30613b.tar.gz ppe42-gcc-bb5ceab83627389f31a3af855f6a60f16e30613b.zip | |
* lib/libjava.exp (libjava_arguments): Remove unneeded variables.
(test_libjava_from_source): Likewise.
(test_libjava_from_javac): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71101 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/lib/libjava.exp')
| -rw-r--r-- | libjava/testsuite/lib/libjava.exp | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index 692b48ff6f6..42732f59e6c 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -307,9 +307,6 @@ proc gcj_cleanup {args} { proc libjava_arguments {{mode compile}} { global base_dir global LIBJAVA - global LIBGC - global LIBQTHREADS - global LIBZ global srcdir subdir objdir global TOOL_OPTIONS global GCJ_UNDER_TEST @@ -326,35 +323,14 @@ proc libjava_arguments {{mode compile}} { set libjava [libjava_find_lib libjava gcj] } - if [info exists LIBGC] { - set libgc $LIBGC; - } else { - set libgc [libjava_find_lib boehm-gc gcjgc] - } - - if [info exists LIBQTHREADS] { - set libqthreads $LIBQTHREADS - } else { - set libqthreads [libjava_find_lib qthreads gcjcoop] - } - - if [info exists LIBZ] { - set libz $LIBZ - } else { - set libz [libjava_find_lib zlib zgcj] - } - verbose "using LIBJAVA = $libjava" 2 - verbose "using LIBGC = $libgc" 2 - verbose "using LIBQTHREADS = $libqthreads" 2 - verbose "using LIBZ = $libz" 2 set args "" # Basically we want to build up a colon separated path list from # the value of $libjava. set lpath {} - foreach dir [list $libjava $libgc $libz] { + foreach dir [list $libjava] { foreach item [split $dir " "] { switch -glob -- $item { "-L*" { @@ -572,8 +548,6 @@ proc libjava_invoke {errname testName optName executable inpfile resultfile args # proc test_libjava_from_source { options srcfile compile_args inpfile resultfile exec_args } { global base_dir - global LIBJAVA - global LIBGC global srcdir subdir objdir global TOOL_OPTIONS global GCJ_UNDER_TEST @@ -679,8 +653,6 @@ proc test_libjava_from_source { options srcfile compile_args inpfile resultfile # proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile exec_args } { global base_dir - global LIBJAVA - global LIBGC global srcdir subdir objdir global TOOL_OPTIONS global GCJ_UNDER_TEST |

