MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / skip_without_reactor

Function skip_without_reactor

atomic-cli/tests/provenance_rpc_sink.rs:114–120  ·  view source on GitHub ↗

Skip-label for tests that require the Reactor checkout.

(what: &str)

Source from the content-addressed store, hash-verified

112
113/// Skip-label for tests that require the Reactor checkout.
114fn skip_without_reactor(what: &str) {
115 // cargo prints skipped-test output on stderr; keep the skip visible
116 // in the run log without failing the suite.
117 eprintln!(
118 "skipping {what}: no built Reactor atomicd target (set ATOMIC_REACTOR_ROOT to enable)"
119 );
120}
121
122/// Guard that restores the socket override when dropped.
123struct SocketEnv(Option<std::ffi::OsString>);

Calls

no outgoing calls

Tested by

no test coverage detected