mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-15 18:20:40 +08:00
mauve.exp: Added support for XFAILs.
* libjava.mauve/mauve.exp: Added support for XFAILs. * libjava.mauve/xfails: New file. From-SVN: r39536
This commit is contained in:
parent
1bff1f9a87
commit
1ae696e59a
@ -1,3 +1,8 @@
|
||||
2001-02-08 Warren Levy <warrenl@redhat.com>
|
||||
|
||||
* libjava.mauve/mauve.exp: Added support for XFAILs.
|
||||
* libjava.mauve/xfails: New file.
|
||||
|
||||
2001-01-26 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 1998, 1999, 2000 Free Software Foundation.
|
||||
# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation.
|
||||
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||
# Incorporate Mauve into libjava's DejaGNU test suite framework.
|
||||
|
||||
@ -107,6 +107,8 @@ proc test_mauve {} {
|
||||
puts -nonewline $fd $c
|
||||
close $fd
|
||||
|
||||
catch {system "ln -s $full_srcdir/libjava.mauve/xfails xfails"}
|
||||
|
||||
if {[catch {
|
||||
system "make KEYS=libgcj classes.stamp 2>&1"
|
||||
} msg]} then {
|
||||
@ -188,8 +190,11 @@ proc test_mauve {} {
|
||||
|
||||
# Extract pass/failure info from output.
|
||||
foreach line [split [lindex $result 1] \n] {
|
||||
if {[regexp -- {^(PASS|FAIL): (.*)$} $line ignore what msg]} then {
|
||||
if {$what == "PASS"} then {
|
||||
if {[regexp -- {^(PASS|FAIL|XFAIL|XPASS): (.*)$} $line ignore what msg]} then {
|
||||
if {$what == "XFAIL" || $what == "XPASS"} then {
|
||||
setup_xfail *-*-*
|
||||
}
|
||||
if {$what == "PASS" || $what == "XPASS"} then {
|
||||
pass $msg
|
||||
} else {
|
||||
fail $msg
|
||||
@ -237,6 +242,8 @@ proc test_mauve_sim {} {
|
||||
puts -nonewline $fd $c
|
||||
close $fd
|
||||
|
||||
catch {system "ln -s $full_srcdir/libjava.mauve/xfails xfails"}
|
||||
|
||||
if {[catch {
|
||||
system "make KEYS=libgcj classes.stamp 2>&1"
|
||||
} msg]} then {
|
||||
@ -345,8 +352,11 @@ proc test_mauve_sim {} {
|
||||
|
||||
# Extract pass/failure info from output.
|
||||
foreach line [split [lindex $result 1] \n] {
|
||||
if {[regexp -- {^(PASS|FAIL): (.*)$} $line ignore what msg]} then {
|
||||
if {$what == "PASS"} then {
|
||||
if {[regexp -- {^(PASS|FAIL|XFAIL|XPASS): (.*)$} $line ignore what msg]} then {
|
||||
if {$what == "XFAIL" || $what == "XPASS"} then {
|
||||
setup_xfail *-*-*
|
||||
}
|
||||
if {$what == "PASS" || $what == "XPASS"} then {
|
||||
pass $msg
|
||||
} else {
|
||||
fail $msg
|
||||
|
25
libjava/testsuite/libjava.mauve/xfails
Normal file
25
libjava/testsuite/libjava.mauve/xfails
Normal file
@ -0,0 +1,25 @@
|
||||
FAIL: gnu.testlet.java.lang.Double.DoubleTest: Error: test_shortbyteValue failed - 5 (number 1)
|
||||
FAIL: gnu.testlet.java.lang.Float.FloatTest: Error: test_shortbyteValue failed - 5 (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Four Byte Range Error (0) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Four Byte Range Error (1) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Five Bytes (0) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Five Bytes (1) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Six Bytes (0) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Six Bytes (1) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Orphan Continuation (1) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Orphan Continuation (2) (number 1)
|
||||
FAIL: gnu.testlet.java.io.Utf8Encoding.mojo: Four Byte Range Error (2) (number 1)
|
||||
FAIL: gnu.testlet.java.io.ObjectStreamClass.Test: getSerialVersionUID (number 7)
|
||||
FAIL: gnu.testlet.java.text.DateFormatSymbols.Test: patterns (number 2)
|
||||
FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: equals() (number 1)
|
||||
FAIL: gnu.testlet.java.text.SimpleDateFormat.Test: parse() strict (number 1)
|
||||
FAIL: gnu.testlet.java.text.SimpleDateFormat.getAndSet2DigitYearStart: get2DigitYearStart() initial (number 1)
|
||||
FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error : test_params failed - 5getInetAddress did not return proper values (number 1)
|
||||
FAIL: gnu.testlet.java.net.Socket.SocketTest: Error : test_BasicServer failed - 11 exception was thrown :Illegal seek (number 1)
|
||||
FAIL: gnu.testlet.java.net.URLConnection.URLConnectionTest: Error in test_Basics - 2 should not have raised Throwable here (number 1)
|
||||
FAIL: gnu.testlet.java.net.URL.URLTest: openStream (number 1)
|
||||
FAIL: gnu.testlet.java.net.URL.URLTest: sameFile (number 2)
|
||||
FAIL: gnu.testlet.java.net.URL.URLTest: Error in test_toString - 5 exception should not be thrown here (number 1)
|
||||
FAIL: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) (number 26)
|
||||
FAIL: gnu.testlet.java.net.URL.URLTest: new URL(protocol, host, file) (number 54)
|
||||
FAIL: gnu.testlet.java.net.MulticastSocket.MulticastSocketTest: joinGroup() twice. (number 1)
|
Loading…
Reference in New Issue
Block a user