Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
fcd48230
Commit
fcd48230
authored
May 18, 2000
by
Tom Tromey
Committed by
Tom Tromey
May 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lib/libjava.exp (bytecompile_file): Use exec, not system.
From-SVN: r33989
parent
3eb16773
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
libjava/testsuite/ChangeLog
+4
-0
libjava/testsuite/lib/libjava.exp
+7
-2
No files found.
libjava/testsuite/ChangeLog
View file @
fcd48230
2000-05-18 Tom Tromey <tromey@cygnus.com>
* lib/libjava.exp (bytecompile_file): Use exec, not system.
2000-05-17 Tom Tromey <tromey@cygnus.com>
* libjava.mauve/mauve.exp (test_mauve): Call `prune_warnings'.
...
...
libjava/testsuite/lib/libjava.exp
View file @
fcd48230
...
...
@@ -49,7 +49,7 @@ proc find_gcjh {} {
proc bytecompile_file { file objdir {classpath {}} } {
global env
global SUN_JAVAC
set dirname
[file dirname $file];
set dirname
[file dirname $file]
# If JDK doesn't run on your platform but some other
# JDK-compatible javac does, you may set SUN_JAVAC to point to it.
...
...
@@ -72,7 +72,12 @@ proc bytecompile_file { file objdir {classpath {}} } {
set env(CLASSPATH) $classpath
}
if {[catch {
system "cd $dirname; $SUN_JAVAC $file -d $objdir 2>&1"
set here [pwd]
cd $dirname
set q [eval exec "$SUN_JAVAC [list $file] -d $objdir 2>@ stdout"]
cd $here
# "return" a result
set q $q
} msg]} then {
verbose "couldn't compile $file: $msg"
set r 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment