Closed
Description
Consider the following commands. First one shard:
rustx $ ./main_test --test --bench --test-shard 1.2
running 1 test
test core::addition_works ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
And then a second (well, empty):
rustx $ ./main_test --test --bench --test-shard 2.2
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
But there was a benchmark which neither of the two shards ran:
rustx $ ./main_test --test --bench
running 2 tests
test core::addition_works ... ok
test core::addition_benchmarked ... bench: 3 ns/iter (+/- 3)
test result: ok. 1 passed; 0 failed; 0 ignored; 1 measured
Sample code: https://github.com/killerswan/rustx/blob/07347184ded27a664544b40f032940efc339e340/src/rustx/core.rs
Metadata
Metadata
Assignees
Labels
No labels