mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 13:21:06 +08:00
libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with...
* lib/libjava.exp (test_libjava_from_javac): Don't create .o files containing $ characters and always quote class files with "'"s. From-SVN: r62919
This commit is contained in:
parent
fe7496dd9f
commit
394a76de73
@ -1,3 +1,8 @@
|
||||
2003-02-14 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* lib/libjava.exp (test_libjava_from_javac): Don't create .o files
|
||||
containing $ characters and always quote class files with "'"s.
|
||||
|
||||
2003-02-14 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* libjava.mauve/mauve.exp (mauve_compute_uses): Add inner class
|
||||
|
@ -787,8 +787,10 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e
|
||||
if {$mode == "compile"} {
|
||||
foreach c_file $class_files {
|
||||
set executable [file rootname [file tail $c_file]].o
|
||||
# Don't write files which contain $ chars.
|
||||
set executable [string map {$ ^} $executable]
|
||||
set x [libjava_prune_warnings \
|
||||
[libjava_tcompile $c_file "$executable" $type $args]]
|
||||
[libjava_tcompile '$c_file' "$executable" $type $args]]
|
||||
lappend removeList $executable
|
||||
if {$x != ""} {
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user