diff --git a/Cargo.lock b/Cargo.lock index aff6990240..7f259616dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3502,6 +3502,7 @@ dependencies = [ "roc_reporting", "roc_target", "serde", + "serial_test", "target-lexicon", "tempfile", ] diff --git a/crates/linker/Cargo.toml b/crates/linker/Cargo.toml index 6cde89ada0..ea6d76ea14 100644 --- a/crates/linker/Cargo.toml +++ b/crates/linker/Cargo.toml @@ -36,3 +36,4 @@ tempfile.workspace = true [dev-dependencies] indoc.workspace = true libc.workspace = true +serial_test.workspace = true diff --git a/crates/linker/src/pe.rs b/crates/linker/src/pe.rs index 1022ad3329..a20ea29342 100644 --- a/crates/linker/src/pe.rs +++ b/crates/linker/src/pe.rs @@ -1359,6 +1359,7 @@ mod test { use crate::preprocessed_host_filename; use indoc::indoc; + use serial_test::serial; use target_lexicon::Triple; use super::*; @@ -1834,12 +1835,14 @@ mod test { } #[cfg(windows)] + #[serial(zig_build)] #[test] fn basics_windows() { assert_eq!("Hello, 234567 32 1 3!\n", windows_test(test_basics)) } #[test] + #[serial(zig_build)] #[ignore] fn basics_wine() { assert_eq!("Hello, 234567 32 1 3!\n", wine_test(test_basics)) @@ -1876,12 +1879,14 @@ mod test { } #[cfg(windows)] + #[serial(zig_build)] #[test] fn app_internal_relocations_windows() { assert_eq!("Hello foo\n", windows_test(test_internal_relocations)) } #[ignore] + #[serial(zig_build)] #[test] fn app_internal_relocations_wine() { assert_eq!("Hello foo\n", wine_test(test_internal_relocations))