Skip to content

Commit 86992b6

Browse files
committed
Loosen possibly bogus constraints in backtrace test
1 parent 243bfc2 commit 86992b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/run-pass/backtrace.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ fn runtest(me: &str) {
5757
let out = p.wait_with_output().unwrap();
5858
assert!(!out.status.success());
5959
let s = str::from_utf8(out.error.as_slice()).unwrap();
60-
assert!(s.contains("stack backtrace") && s.contains("double::h"),
60+
// loosened the following from double::h to double:: due to
61+
// spurious failures on mac, 32bit, optimized
62+
assert!(s.contains("stack backtrace") && s.contains("double::"),
6163
"bad output3: {}", s);
6264

6365
// Make sure a stack trace isn't printed too many times

0 commit comments

Comments
 (0)