spawn_test_thread in compiletest::executor - Rust
Description: Spawns a thread to run a single test, and returns the thread’s join handle.

Skip to main content

## spawn_test_thread

# Function spawn_test_thread

Source

    fn spawn_test_thread(
        id: TestId,
        test: &CollectedTest,
        completion_sender: Sender<TestCompletion>,
    ) -> Option<JoinHandle<()>>

Expand description

Spawns a thread to run a single test, and returns the thread’s join handle.

Returns `None` if the test was ignored, so no thread was spawned.