Skip to content

Commit 0893417

Browse files
Ignore tests/compile/simd-ffi.rs for m68k
1 parent 3c61fd8 commit 0893417

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tests/lang_tests.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,18 @@ fn main() {
183183
.test_extract(extract_test)
184184
.test_cmds(move |path| compile_and_run(path, &tempdir, &current_dir1))
185185
.run();
186+
187+
let test_target = std::env::var("CG_GCC_TEST_TARGET").ok();
186188
let tempdir = TempDir::new().expect("temp dir");
187189
LangTester::new()
188190
.test_dir("tests/compile")
189-
.test_path_filter(filter)
191+
// FIXME: Remove the `smid-ffi.rs` check once we use another test runner which allows
192+
// annotations.
193+
.test_path_filter(move |path| {
194+
filter(path)
195+
&& (test_target.is_none()
196+
|| !path.to_str().is_some_and(|p| p.ends_with("/simd-ffi.rs")))
197+
})
190198
.test_extract(extract_test)
191199
.test_cmds(move |path| compile(path, &tempdir, &current_dir))
192200
.run();

0 commit comments

Comments
 (0)