cargo-minimize/testsuite
moxian d023307d8d Actually, let's not bisect imports by default
I thought it was a good idea, but now that reaper is
not completely busted, i see that this is taking a bit
longer than i'd like.. It's easier to just run reaper again
2025-04-20 15:54:50 +02:00
..
src Actually, let's not bisect imports by default 2025-04-20 15:54:50 +02:00
Cargo.toml speed up tests by doing rustup which 2023-09-23 16:04:17 +02:00
README.md speed up tests by doing rustup which 2023-09-23 16:04:17 +02:00

testsuite

The test suite works the following way:

We have a bunch of files in $WORKSPACE/full-tests, every file is a test. We then run cargo-minimize on that. ~MINIMIZE-ROOT are required to be present in the minimization, and we expect ~REQUIRE-DELETED to be deleted by cargo-minimize.

We use bin/regression_checked as our custom script to verify whether it "reproduces", where for us, "reproduces" means "all roots are present and the code compiles".