Skip to content

Commit 7f31c3e

Browse files
committed
Split out and ignore compile-fail test runner
Until the span info retrieved from the compiler is reliable and stable. Signed-off-by: Mohammad AlSaleh <[email protected]>
1 parent e494ad5 commit 7f31c3e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/compiletest.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ fn run_mode(mode: &'static str) {
1818
}
1919

2020
#[test]
21-
fn compile_test() {
22-
run_mode("compile-fail");
21+
fn compile_test_run_pass() {
2322
run_mode("run-pass");
2423
}
24+
25+
#[test]
26+
// Ignoring until we get reliable and stable span info from the compiler in all cases
27+
#[ignore]
28+
fn compile_test_compile_fail() {
29+
run_mode("compile-fail");
30+
}

0 commit comments

Comments
 (0)