Skip to content

Commit 391a65f

Browse files
author
mejrs
committed
Run some tests only sometimes
1 parent a0ca6b3 commit 391a65f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

tests/test_compile_error.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ fn _test_compile_errors() {
107107
t.compile_fail("tests/ui/invalid_pymethod_receiver.rs");
108108
// Avoid `"and X others" from mismatching
109109
// by only running this for some configurations
110-
if cfg!(all(target_os = "linux", not(feature = "full"))) {
110+
if cfg!(all(
111+
target_os = "linux",
112+
feature = "full",
113+
not(feature = "abi3")
114+
)) {
111115
t.compile_fail("tests/ui/missing_intopy.rs");
112116
}
113117
}
@@ -119,7 +123,11 @@ fn _test_compile_errors() {
119123
fn tests_rust_1_63(t: &trybuild::TestCases) {
120124
// Avoid `"and X others" from mismatching
121125
// by only running this for some configurations
122-
if cfg!(all(target_os = "linux", not(feature = "full"))) {
126+
if cfg!(all(
127+
target_os = "linux",
128+
feature = "full",
129+
not(feature = "abi3")
130+
)) {
123131
t.compile_fail("tests/ui/invalid_result_conversion.rs");
124132
}
125133
t.compile_fail("tests/ui/not_send.rs");

0 commit comments

Comments
 (0)