Module test_support

Module test_support 

Source
Expand description

Test-harness helpers shared by the termination/deadlock suites (the receive-and-diagnose watchdog). Never present in a shipping build; the test-support feature exists so ifc-lite-processing’s integration tests can reach it as well. Test-harness helpers shared by the termination/deadlock suites.

Compiled only under cfg(test) or the test-support feature, which no shipping build enables (same shape as triangulation-alt). The feature exists so ifc-lite-processing’s integration tests can reach [recv_or_diagnose] too — the alternative was a seventh hand-written copy of the same two-arm match.

Functions§

recv_or_diagnose
Receive one value from a watchdogged worker, or panic with the diagnosis that actually fits what happened.