Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(raw_coverage): add shared env_guard module for test suites

Steven Enamakel169587da95da
diff --git a/tests/raw_coverage_all.rs b/tests/raw_coverage_all.rs
index 2d0c181d1c..fdb95badcd 100644
--- a/tests/raw_coverage_all.rs
+++ b/tests/raw_coverage_all.rs
@@ -49,4 +49,9 @@ pub static CONNECTOR_MODULE_LOCK: tokio::sync::Mutex<()> = tokio::sync::Mutex::c
#[path = "support/tinyhumans_boot.rs"]
pub mod tinyhumans_boot;
+/// The shared `EnvVarGuard` (set / unset one var, restore on drop). It does not
+/// lock: suites hold [`SHARED_ENV_LOCK`] through their own `env_lock()`.
+#[path = "support/env_guard.rs"]
+pub mod env_guard;
+
include!(concat!(env!("OUT_DIR"), "/raw_coverage_mods.rs"));