mauve.exp (mauve_compute_uses): Let user select specific tests to run.

* libjava.mauve/mauve.exp (mauve_compute_uses): Let user select
	specific tests to run.

From-SVN: r31183
This commit is contained in:
Tom Tromey 2000-01-03 20:18:19 +00:00 committed by Tom Tromey
parent 1a75bc3340
commit f540ec2448
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1999-12-31 Tom Tromey <tromey@cygnus.com>
* libjava.mauve/mauve.exp (mauve_compute_uses): Let user select
specific tests to run.
1999-10-19 Bryce McKinlay <bryce@albatross.co.nz>
* libjava.compile/invokeinterface: New directory.

View File

@ -10,7 +10,7 @@
# maps source file names onto list of objects required for link.
proc mauve_compute_uses {aName} {
upvar $aName uses
global env
global env runtests
set fd [open classes r]
set line [read $fd]
@ -22,6 +22,11 @@ proc mauve_compute_uses {aName} {
}
set item [join [split $item .] /].java
# User might have specified "mauve.exp=something.java".
if {! [runtest_file_p $runtests $item]} {
continue
}
# Look for Uses line in source file.
set fd [open $env(MAUVEDIR)/$item r]
set ufiles [list $item]