ktstr_main

Function ktstr_main 

Source
pub fn ktstr_main() -> !
Expand description

Nextest protocol handler.

Called automatically by [ktstr_test_early_dispatch] when running under nextest with --exact <ktstr_or_gauntlet_name>. Not intended for direct use.

  • --list --format terse: output ktstr/{name}: test\n for base tests and gauntlet/{name}/{preset}: test\n for gauntlet variants. (Discovery uses ktstr_list_only instead to allow libtest to print its own list afterward; this branch is preserved for direct callers of ktstr_main.)
  • --exact NAME --nocapture: run the named test, exit 0/1.