pub fn print_stats_report() -> Option<String>Expand description
Read sidecar JSON files and return the gauntlet analysis report.
Source directory:
KTSTR_SIDECAR_DIRif set, else- the most recently modified subdirectory under
{CARGO_TARGET_DIR or "target"}/ktstr/.
cargo ktstr stats doesn’t itself run a kernel, so it can’t
reconstruct the {kernel}-{project_commit} key the test process
used; the mtime fallback mirrors “show me the report from my
last test run.”
Returns None with a warning on stderr when no sidecars are found.
This is not an error – regular test runs that skip gauntlet tests
produce no sidecar files.