diff options
| author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-15 16:39:28 +0000 |
|---|---|---|
| committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-15 16:39:28 +0000 |
| commit | 3a5d690e9862761c8826409e0461a7894ef66f03 (patch) | |
| tree | 4844bccc8331ea6b06800c3f1b85a8707b5bdb7e /libjava/testsuite/lib/libjava.exp | |
| parent | 2a3098a4fb9cd4a4ca0d6899def8ff9f373506f2 (diff) | |
| download | ppe42-gcc-3a5d690e9862761c8826409e0461a7894ef66f03.tar.gz ppe42-gcc-3a5d690e9862761c8826409e0461a7894ef66f03.zip | |
* lib/libjava.exp (test_libjava_from_javac): Use regsub not string map.
* libjava.mauve/mauve.exp (mauve_compute_uses): Likewise.
(test_mauve): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/lib/libjava.exp')
| -rw-r--r-- | libjava/testsuite/lib/libjava.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index d9aa178d654..6be5ec67662 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -788,7 +788,7 @@ proc test_libjava_from_javac { options srcfile compile_args inpfile resultfile e 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] + regsub -all "\\$" $executable "\^" executable set x [libjava_prune_warnings \ [libjava_tcompile '$c_file' "$executable" $type $args]] lappend removeList $executable |

