This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: better control of Mauve tests
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: better control of Mauve tests
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 03 Jan 2000 13:20:23 -0700
- Reply-To: tromey at cygnus dot com
I'm committing the appended patch. It changes the test suite to give
better control over Mauve tests; now you can select which tests to run
from the `dejagnu' command line.
1999-12-31 Tom Tromey <tromey@cygnus.com>
* libjava.mauve/mauve.exp (mauve_compute_uses): Let user select
specific tests to run.
Tom
Index: libjava.mauve/mauve.exp
===================================================================
RCS file: /cvs/java/libgcj/libjava/testsuite/libjava.mauve/mauve.exp,v
retrieving revision 1.6
diff -u -r1.6 mauve.exp
--- mauve.exp 1999/07/31 23:52:52 1.6
+++ mauve.exp 2000/01/03 20:10:51
@@ -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]
@@ -21,6 +21,11 @@
continue
}
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]