about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLindsey Kuper <lkuper@mozilla.com>2011-07-20 12:43:57 -0700
committerLindsey Kuper <lkuper@mozilla.com>2011-07-20 12:49:54 -0700
commit7a919da04ec9c4eb02c408afbd5a2bdb67a3dcb9 (patch)
tree46e130c5367b02ad4446e1c298d32e2c7790f80d
parent94f2a7b9a75a1f754e9719cb80c72e72350b48d1 (diff)
downloadrust-7a919da04ec9c4eb02c408afbd5a2bdb67a3dcb9.tar.gz
rust-7a919da04ec9c4eb02c408afbd5a2bdb67a3dcb9.zip
Method overriding tests suddenly pass valgrind for some reason.
I'm not sure if this is because of changes to glue generation in the
last few days while I've been working on other things, or if it's a
side effect of the improvements I made to typechecking for anonymous
objects, or something else, but I guess I'll take it!

Closes issue #543.
-rw-r--r--src/test/run-pass/anon-obj-overriding-reduced.rs2
-rw-r--r--src/test/run-pass/anon-obj-overriding.rs4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/test/run-pass/anon-obj-overriding-reduced.rs b/src/test/run-pass/anon-obj-overriding-reduced.rs
index 1b40c0484d2..3c1c62bae63 100644
--- a/src/test/run-pass/anon-obj-overriding-reduced.rs
+++ b/src/test/run-pass/anon-obj-overriding-reduced.rs
@@ -1,6 +1,4 @@
 //xfail-stage0
-//xfail-stage1
-//xfail-stage2
 
 // Reduced test case for issue #543.
 fn main() {
diff --git a/src/test/run-pass/anon-obj-overriding.rs b/src/test/run-pass/anon-obj-overriding.rs
index d71244cc313..2e86f57ad2c 100644
--- a/src/test/run-pass/anon-obj-overriding.rs
+++ b/src/test/run-pass/anon-obj-overriding.rs
@@ -1,6 +1,5 @@
 //xfail-stage0
-//xfail-stage1
-//xfail-stage2
+
 use std;
 
 fn main() {
@@ -25,7 +24,6 @@ fn main() {
         with my_a
     };
 
-    // FIXME: raises a valgrind error (issue #543).
     assert (my_b.foo() == 3);
     assert (my_b.bar() == 3);
 }