mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-16 01:05:02 +01:00
speed up tests by doing rustup which
`cargo test` goes from 2.4s to 1.6s
This commit is contained in:
parent
ea5fb6e4ba
commit
50dc094ddd
7 changed files with 99 additions and 34 deletions
10
testsuite/README.md
Normal file
10
testsuite/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# 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".
|
||||
Loading…
Add table
Add a link
Reference in a new issue