rust/library/test
Pietro Albini b1d60bc076
refactor executing tests to centralize actually invoking tests
Before this commit, tests were invoked in multiple places, especially
due to `-Z panic-abort-tests`, and adding a new test kind meant having
to chase down and update all these places.

This commit creates a new Runnable enum, and its children RunnableTest
and RunnableBench. The rest of the harness will now pass around the enum
rather than constructing and passing around boxed functions. The enum
has two children enums because invoking tests and invoking benchmarks
requires different parameters.
2023-05-26 14:53:43 +02:00
..
src refactor executing tests to centralize actually invoking tests 2023-05-26 14:53:43 +02:00
Cargo.toml Add a sysroot crate to represent the standard library crates 2023-04-25 13:40:36 +02:00