From 50ce4ec2ddb8ec621a77d8773aa6df6d9e7441ff Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Sat, 5 Sep 2026 20:39:32 +0200 Subject: fix: run the full applicable test suite on windows (#3660) * fix: run the full applicable test suite on windows * test: remove redundant test shell assignment * test: make endpoint and metadata fixtures deterministic * test: tolerate exited servers during windows probe cleanup --- tests/api_ping.rs | 2 ++ tests/auto_detect.rs | 2 +- tests/cli.rs | 2 +- tests/cross_area.rs | 2 ++ tests/detach_reattach.rs | 2 ++ tests/live_handoff.rs | 2 ++ tests/multi_client.rs | 2 ++ tests/server_headless.rs | 2 ++ 8 files changed, 14 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/api_ping.rs b/tests/api_ping.rs index 131f78f2..fcfaf41f 100644 --- a/tests/api_ping.rs +++ b/tests/api_ping.rs @@ -1,3 +1,5 @@ +#![cfg(unix)] + pub mod support; use std::fs; diff --git a/tests/auto_detect.rs b/tests/auto_detect.rs index 49473dbb..ae902dac 100644 --- a/tests/auto_detect.rs +++ b/tests/auto_detect.rs @@ -1,6 +1,6 @@ //! Integration tests for auto-detect launch behavior. -#![cfg(not(target_os = "macos"))] +#![cfg(all(unix, not(target_os = "macos")))] pub mod support; diff --git a/tests/cli.rs b/tests/cli.rs index ff238996..17648638 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -1,4 +1,4 @@ -#![cfg(not(target_os = "macos"))] +#![cfg(all(unix, not(target_os = "macos")))] pub mod support; diff --git a/tests/cross_area.rs b/tests/cross_area.rs index 91c17800..01c15c68 100644 --- a/tests/cross_area.rs +++ b/tests/cross_area.rs @@ -1,5 +1,7 @@ //! Cross-area integration tests for end-to-end persistence flows. +#![cfg(unix)] + pub mod support; use std::fs; diff --git a/tests/detach_reattach.rs b/tests/detach_reattach.rs index cdf0736c..0bbe94b6 100644 --- a/tests/detach_reattach.rs +++ b/tests/detach_reattach.rs @@ -1,6 +1,8 @@ //! Integration tests for detach/reattach flow. //! +#![cfg(unix)] + pub mod support; use std::fs; diff --git a/tests/live_handoff.rs b/tests/live_handoff.rs index 50b39698..3838b888 100644 --- a/tests/live_handoff.rs +++ b/tests/live_handoff.rs @@ -1,3 +1,5 @@ +#![cfg(unix)] + pub mod support; use std::fs; diff --git a/tests/multi_client.rs b/tests/multi_client.rs index 514493cb..823fa0c1 100644 --- a/tests/multi_client.rs +++ b/tests/multi_client.rs @@ -1,5 +1,7 @@ //! Gate B integration tests for the ClientShell protocol. +#![cfg(unix)] + pub mod support; use std::fs; diff --git a/tests/server_headless.rs b/tests/server_headless.rs index f6eb0771..6bb054ad 100644 --- a/tests/server_headless.rs +++ b/tests/server_headless.rs @@ -1,5 +1,7 @@ //! Integration tests for headless server mode. +#![cfg(unix)] + pub mod support; use std::fs; -- cgit v1.2.3