We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tests/compile/simd-ffi.rs
1 parent 3c61fd8 commit 0893417Copy full SHA for 0893417
1 file changed
tests/lang_tests.rs
@@ -183,10 +183,18 @@ fn main() {
183
.test_extract(extract_test)
184
.test_cmds(move |path| compile_and_run(path, &tempdir, ¤t_dir1))
185
.run();
186
+
187
+ let test_target = std::env::var("CG_GCC_TEST_TARGET").ok();
188
let tempdir = TempDir::new().expect("temp dir");
189
LangTester::new()
190
.test_dir("tests/compile")
- .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
+ })
198
199
.test_cmds(move |path| compile(path, &tempdir, ¤t_dir))
200
0 commit comments