diff options
| author | Brian Leibig <brian.leibig@gmail.com> | 2013-02-28 13:39:54 -0500 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-03-11 14:09:06 -0700 |
| commit | c913eff51def7f65474f27a032b5ba4c71f4ce90 (patch) | |
| tree | fa053e713df9e853ece974921a1a9addc250b66f | |
| parent | c978025d0dc416524313fd0c5f0797d9940574d9 (diff) | |
| download | rust-c913eff51def7f65474f27a032b5ba4c71f4ce90.tar.gz rust-c913eff51def7f65474f27a032b5ba4c71f4ce90.zip | |
Disable struct value printing in debug info tests
This is due to the way different versions of gdb print out structs: older versions have them always spread out with fields on different lines, while newer versions will compactly print them on one line. This makes it hard for the output checker to verify the expected output.
| -rw-r--r-- | src/test/debug-info/struct.rs | 11 | ||||
| -rw-r--r-- | src/test/debug-info/tuple.rs | 1 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/test/debug-info/struct.rs b/src/test/debug-info/struct.rs index d376bed76b7..4e12c0f940f 100644 --- a/src/test/debug-info/struct.rs +++ b/src/test/debug-info/struct.rs @@ -9,17 +9,12 @@ // except according to those terms. // compile-flags:-Z extra-debug-info -// debugger:break 31 +// debugger:break 26 // debugger:run -// debugger:print pair -// check:$1 = { -// check:x = 1, -// check:y = 2 -// check:} // debugger:print pair.x -// check:$2 = 1 +// check:$1 = 1 // debugger:print pair.y -// check:$3 = 2 +// check:$2 = 2 struct Pair { x: int, diff --git a/src/test/debug-info/tuple.rs b/src/test/debug-info/tuple.rs index 5bceb9916ed..e93e3ba3cec 100644 --- a/src/test/debug-info/tuple.rs +++ b/src/test/debug-info/tuple.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test // compile-flags:-Z extra-debug-info // debugger:break 23 // debugger:run |
