diff --git a/crates/control/tests/api.rs b/crates/control/tests/api.rs index c41f05c..4f74181 100644 --- a/crates/control/tests/api.rs +++ b/crates/control/tests/api.rs @@ -12,14 +12,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (edge admin socket); run it in WSL2", - file!() - ); -} +#[ignore = "needs Linux (edge admin socket): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/control/tests/apply.rs b/crates/control/tests/apply.rs index fef8c46..5bfdac3 100644 --- a/crates/control/tests/apply.rs +++ b/crates/control/tests/apply.rs @@ -13,14 +13,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (edge admin socket); run it in WSL2", - file!() - ); -} +#[ignore = "needs Linux (edge admin socket): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/control/tests/engine_switch.rs b/crates/control/tests/engine_switch.rs index 42ddf4a..7f20c22 100644 --- a/crates/control/tests/engine_switch.rs +++ b/crates/control/tests/engine_switch.rs @@ -11,14 +11,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux; run it in WSL2", - file!() - ); -} +#[ignore = "needs Linux: run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/control/tests/pki.rs b/crates/control/tests/pki.rs index 0b998f2..e2e5d8f 100644 --- a/crates/control/tests/pki.rs +++ b/crates/control/tests/pki.rs @@ -13,14 +13,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux; run it in WSL2", - file!() - ); -} +#[ignore = "needs Linux: run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/control/tests/ui_auth.rs b/crates/control/tests/ui_auth.rs index 431c975..f9794ef 100644 --- a/crates/control/tests/ui_auth.rs +++ b/crates/control/tests/ui_auth.rs @@ -13,14 +13,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux; run it in WSL2", - file!() - ); -} +#[ignore = "needs Linux: run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/acme_pebble.rs b/crates/edge/tests/acme_pebble.rs index 9af257d..e4beec9 100644 --- a/crates/edge/tests/acme_pebble.rs +++ b/crates/edge/tests/acme_pebble.rs @@ -15,14 +15,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/device_certs.rs b/crates/edge/tests/device_certs.rs index 28db0a9..f1543ea 100644 --- a/crates/edge/tests/device_certs.rs +++ b/crates/edge/tests/device_certs.rs @@ -12,14 +12,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/forward_auth.rs b/crates/edge/tests/forward_auth.rs index 093678e..219209e 100644 --- a/crates/edge/tests/forward_auth.rs +++ b/crates/edge/tests/forward_auth.rs @@ -11,14 +11,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/listeners.rs b/crates/edge/tests/listeners.rs index 4b44fbe..eca2319 100644 --- a/crates/edge/tests/listeners.rs +++ b/crates/edge/tests/listeners.rs @@ -12,9 +12,11 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -#[ignore = "needs Linux (the Pingora runner): run it in WSL2, see CLAUDE.md"] +#[ignore = "needs Linux (Pingora runner): run it in WSL2, see CLAUDE.md"] fn needs_linux() {} #[cfg(unix)] diff --git a/crates/edge/tests/reload.rs b/crates/edge/tests/reload.rs index c0b7ce8..2640cc1 100644 --- a/crates/edge/tests/reload.rs +++ b/crates/edge/tests/reload.rs @@ -12,14 +12,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/secrets.rs b/crates/edge/tests/secrets.rs index 2775f18..fadecd0 100644 --- a/crates/edge/tests/secrets.rs +++ b/crates/edge/tests/secrets.rs @@ -10,14 +10,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/share_links.rs b/crates/edge/tests/share_links.rs index cd94938..9088783 100644 --- a/crates/edge/tests/share_links.rs +++ b/crates/edge/tests/share_links.rs @@ -13,14 +13,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/trusted_proxies.rs b/crates/edge/tests/trusted_proxies.rs index 51782be..dc6424f 100644 --- a/crates/edge/tests/trusted_proxies.rs +++ b/crates/edge/tests/trusted_proxies.rs @@ -11,14 +11,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/crates/edge/tests/upstreams.rs b/crates/edge/tests/upstreams.rs index dabb165..3c96bc9 100644 --- a/crates/edge/tests/upstreams.rs +++ b/crates/edge/tests/upstreams.rs @@ -10,14 +10,12 @@ #[cfg(unix)] mod common; +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/tests/diff/tests/apply_sequence.rs b/tests/diff/tests/apply_sequence.rs index 37c3f93..1a2e179 100644 --- a/tests/diff/tests/apply_sequence.rs +++ b/tests/diff/tests/apply_sequence.rs @@ -9,14 +9,12 @@ #![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy); run it in WSL2", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix { diff --git a/tests/diff/tests/diff.rs b/tests/diff/tests/diff.rs index 9e4d5f3..1b7adf2 100644 --- a/tests/diff/tests/diff.rs +++ b/tests/diff/tests/diff.rs @@ -7,14 +7,12 @@ #![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] +// On Windows this target has nothing to run: it shows as one *ignored* test, never as a +// pass (ROADMAP §8.3; run it in WSL2, see CLAUDE.md). #[cfg(not(unix))] #[test] -fn skipped_on_windows() { - eprintln!( - "SKIPPED on Windows: {} needs Linux (Pingora runner, Caddy, Pebble); run it in WSL2, see CLAUDE.md", - file!() - ); -} +#[ignore = "needs Linux (Pingora runner, Caddy, Pebble): run it in WSL2, see CLAUDE.md"] +fn needs_linux() {} #[cfg(unix)] mod unix {