test_main_static_abort in test - Rust
Description: A variant optimized for invocation with a static test vector. This will panic (intentionally) when fed any dynamic tests.
Keywords: rust, rustlang, rust-lang, test_main_static_abort

# Function test::test_main_static_abort
[−][src]

    pub fn test_main_static_abort(tests: &[&TestDescAndFn])

🔬 This is a nightly-only experimental API. (`test`)
Expand description

A variant optimized for invocation with a static test vector. This will panic (intentionally) when fed any dynamic tests.

Runs tests in panic=abort mode, which involves spawning subprocesses for tests.

This is the entry point for the main function generated by `rustc --test` when panic=abort.