提交 9b8c04e2 编写于 作者: G Graydon Hoare

core: ignore recent should_fail tests on windows

上级 c766924f
......@@ -435,12 +435,14 @@ fn test(s: &str, ty: Ty) -> bool {
#[test]
#[should_fail]
#[ignore(cfg(windows))]
fn test_parse_type_missing() {
parse_type("", 0, 0, die);
}
#[test]
#[should_fail]
#[ignore(cfg(windows))]
fn test_parse_type_unknown() {
parse_type("!", 0, 1, die);
}
......
......@@ -3867,7 +3867,7 @@ fn test_as_const_buf_fail() {
}
#[test]
#[ignore(windows)]
#[ignore(cfg(windows))]
#[should_fail]
fn test_as_mut_buf_fail() {
let v = [mut (~0, @0), (~0, @0), (~0, @0), (~0, @0)];
......@@ -3878,6 +3878,7 @@ fn test_as_mut_buf_fail() {
#[test]
#[should_fail]
#[ignore(cfg(windows))]
fn test_memcpy_oob() unsafe {
let a = [mut 1, 2, 3, 4];
let b = [1, 2, 3, 4, 5];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册