summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/lib/libjava.exp
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-25 13:59:09 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-25 13:59:09 +0000
commit3e9172b931e30afb74c671c963fcc340b3ad0908 (patch)
treeecdfab13897f1b859edc189e2244db8d2e6e52f3 /libjava/testsuite/lib/libjava.exp
parent112250b1d476e9bef82a9cfea906e4a4adc60e25 (diff)
downloadppe42-gcc-3e9172b931e30afb74c671c963fcc340b3ad0908.tar.gz
ppe42-gcc-3e9172b931e30afb74c671c963fcc340b3ad0908.zip
* lib/libjava.exp (test_libjava_from_javac): Fixed typo. Always
make class_files a list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/lib/libjava.exp')
-rw-r--r--libjava/testsuite/lib/libjava.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp
index 88380d14b74..8c95fb3782e 100644
--- a/libjava/testsuite/lib/libjava.exp
+++ b/libjava/testsuite/lib/libjava.exp
@@ -366,12 +366,13 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
# nothing if the file contains an interface and not a class. I
# believe this is a jv-scan bug.
if {$class_out == ""} then {
- set class_files $objdir/[file rootname [file tail $srcfile]].class
+ set class_files \
+ [list $objdir/[file rootname [file tail $srcfile]].class]
} else {
# Turn "a b" into "a.class b.class".
set class_files {}
foreach file [split [string trim $class_out]] {
- lappend class_out $objdir/$file.class
+ lappend class_files $objdir/$file.class
}
}
OpenPOWER on IntegriCloud