build regression checker as well

This commit is contained in:
nora 2023-04-11 10:55:25 +02:00
parent 017e78261b
commit d5f4d6e8ce
2 changed files with 57 additions and 25 deletions

View file

@ -1 +1,9 @@
fn main() {}
fn main() -> anyhow::Result<()> {
let root_var =
std::env::var("MINIMIZE_RUNTEST_ROOTS").expect("MINIMIZE_RUNTEST_ROOTS env var not found");
let roots = root_var.split(",").collect::<Vec<_>>();
let proj_dir = std::env::current_dir().expect("current dir not found");
testsuite::ensure_correct_minimization(&proj_dir, roots)
}