//! Preparation and execution of Lit `RUN:` directives.
use crateLitConfig;
use crateRunContext;
use crate;
/// Prepares and runs one discovered test.
///
/// Use the same configuration for discovery and execution. Execution settings
/// from `config` replace the snapshot stored in `test`. The function applies
/// feature conditions, substitutions, retries, time limits, and `XFAIL:`
/// mapping. It stores a clone of the returned result in [`Test::result()`].
///
/// # Blocking
///
/// This function reads the test file and waits for child processes. A time
/// limit can stop child processes but cannot interrupt an embedded command
/// while that command is running.