litnik 0.2.1

An embedded Lit and FileCheck runner for compiler test suites.
Documentation
//! Low-level execution entry points for discovered tests.
//!
//! Most integrations use [`crate::Suite`]. Use this module when another test
//! harness owns discovery and result reporting:
//!
//! ```no_run
//! let config = litnik::LitConfig::new("tests/lit").suffix("mlir");
//! let mut tests = litnik::discovery::try_discover_tests(
//!     std::path::Path::new("tests/lit"),
//!     &config,
//! )?;
//!
//! for test in &mut tests {
//!     let result = litnik::formats::run_shtest(test, &config);
//!     println!("{}: {}", test.get_full_name(), result.code.name());
//! }
//! # Ok::<(), Box<dyn std::error::Error>>(())
//! ```

/// Execution of Lit integrated shell tests.
pub mod shtest;

pub use shtest::run as run_shtest;