This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Patch: another testsuite patch
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: another testsuite patch
- From: Tom Tromey <tromey at redhat dot com>
- Date: 15 Dec 2000 23:13:52 -0700
- Reply-To: tromey at redhat dot com
This is another test suite patch reduced at eliminating FAIL and XPASS
results. This one adds some xfail files but also fixes a few test
suite bugs.
Most of the remaining FAIL results are bad interactions between
dejagnu, libtool, and `$' in filenames (compounded by my recent
libjava.exp change). However, some are real failures.
Ideally I'd like to see us eliminate regressions and get the XFAIL
count to 0. Then we would have a solid (though incomplete) baseline
for changes to the front end.
2000-12-15 Tom Tromey <tromey@redhat.com>
* libjava.lang/stub.xfail: New file.
* libjava.lang/pr83.xfail: New file.
* libjava.lang/err8.xfail: New file.
* libjava.lang/err7.xfail: New file.
* libjava.lang/Shazam.xfail: New file.
* libjava.lang/err11.xfail: New file.
* libjava.lang/instinit2.java: Renamed class to `instinit2'.
* libjava.lang/anon3.out: Fixed typo.
* libjava.lang/Class_1.java (main): Uncommented out previously
failing code; now it works
Tom
Index: libjava.lang/Class_1.java
===================================================================
RCS file: /cvs/gcc/egcs/libjava/testsuite/libjava.lang/Class_1.java,v
retrieving revision 1.1
diff -u -r1.1 Class_1.java
--- Class_1.java 2000/06/13 23:44:05 1.1
+++ Class_1.java 2000/12/16 05:52:42
@@ -23,10 +23,7 @@
printIsAssignableFrom(int[].class, int[].class, true);
printIsAssignableFrom(C[].class, D.class, false);
printIsAssignableFrom(C[].class, D[].class, true);
- // Known compiler limitation prevents next case from compiling.
- // printIsAssignableFrom(C[].class, C[][].class, false);
- System.out.println("printIsAssignableFrom(C[].class, C[][].class, false);" +
- " case uncompilable due to known compiler limitation.");
+ printIsAssignableFrom(C[].class, C[][].class, false);
printIsAssignableFrom(Object.class, I.class, true);
printIsAssignableFrom(I.class, I.class, true);
Index: libjava.lang/Shazam.xfail
===================================================================
RCS file: Shazam.xfail
diff -N Shazam.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ Shazam.xfail Fri Dec 15 21:52:42 2000
@@ -0,0 +1 @@
+xfail-byte
Index: libjava.lang/anon3.out
===================================================================
RCS file: /cvs/gcc/egcs/libjava/testsuite/libjava.lang/anon3.out,v
retrieving revision 1.1
diff -u -r1.1 anon3.out
--- anon3.out 2000/01/19 21:38:43 1.1
+++ anon3.out 2000/12/16 05:52:42
@@ -1,2 +1,2 @@
-Testing class `annon3'...
+Testing class `anon3'...
5
Index: libjava.lang/err11.xfail
===================================================================
RCS file: err11.xfail
diff -N err11.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ err11.xfail Fri Dec 15 21:52:42 2000
@@ -0,0 +1 @@
+xfail-byte
Index: libjava.lang/err7.xfail
===================================================================
RCS file: err7.xfail
diff -N err7.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ err7.xfail Fri Dec 15 21:52:42 2000
@@ -0,0 +1 @@
+xfail-byte
Index: libjava.lang/err8.xfail
===================================================================
RCS file: err8.xfail
diff -N err8.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ err8.xfail Fri Dec 15 21:52:42 2000
@@ -0,0 +1 @@
+xfail-byte
Index: libjava.lang/instinit2.java
===================================================================
RCS file: /cvs/gcc/egcs/libjava/testsuite/libjava.lang/instinit2.java,v
retrieving revision 1.1
diff -u -r1.1 instinit2.java
--- instinit2.java 2000/02/07 21:40:18 1.1
+++ instinit2.java 2000/12/16 05:52:42
@@ -1,10 +1,10 @@
-// Class ii2
+// Class instinit2
// Generated on Wed Feb 2 17:52:49 PST 2000
// The instance initializer throws a checked exception. This is OK
// since the constructors declares it in its `throws' clause -- at
// least that's what the specs are saying.
-class ii2 {
+class instinit2 {
String buffer = "Oink Oink!";
@@ -14,16 +14,16 @@
throw new Exception ("It just oinked");
}
- ii2 () throws Exception
+ instinit2 () throws Exception
{
System.out.println ("Ctor");
}
public static void main (String[] arg)
{
- System.out.println ("Testing class `ii2'...");
+ System.out.println ("Testing class `instinit2'...");
try {
- System.out.println (new ii2 ().buffer);
+ System.out.println (new instinit2 ().buffer);
} catch (Exception e) {
System.out.println (e.toString());
}
Index: libjava.lang/pr83.xfail
===================================================================
RCS file: pr83.xfail
diff -N pr83.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ pr83.xfail Fri Dec 15 21:52:42 2000
@@ -0,0 +1 @@
+xfail-byte
Index: libjava.lang/stub.xfail
===================================================================
RCS file: stub.xfail
diff -N stub.xfail
--- /dev/null Tue May 5 13:32:27 1998
+++ stub.xfail Fri Dec 15 21:52:42 2000
@@ -0,0 +1 @@
+xfail-byte