diff options
| author | Ralf Jung <post@ralfj.de> | 2021-05-20 00:18:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-20 00:18:58 +0200 |
| commit | a552b5b04bcd546d788798a3bd94ded2dbba048e (patch) | |
| tree | f27bd1f7928774426b7c36bfef1c5614808173b1 | |
| parent | 42174308a277f3d3f774abbcf42f58de0288d272 (diff) | |
| parent | 67e8f1230745785bc08ec4d3d882f61b1d3516af (diff) | |
| download | rust-a552b5b04bcd546d788798a3bd94ded2dbba048e.tar.gz rust-a552b5b04bcd546d788798a3bd94ded2dbba048e.zip | |
Rollup merge of #85287 - eggyal:expose-test-concurrent, r=m-ou-se
Expose `Concurrent` (private type in public i'face) #53410 introduced experimental support for custom test frameworks. Such frameworks may wish to build upon `library/test` by calling into its publicly exposed API (which I entirely understand is wholly unstable). However, any that wish to call `test::run_test` cannot currently do so because `test::options::Concurrent` (the type of its `concurrent` parameter) is not publicly exposed.
| -rw-r--r-- | library/test/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/test/src/lib.rs b/library/test/src/lib.rs index 9adc099aaa5..bda5ed888d7 100644 --- a/library/test/src/lib.rs +++ b/library/test/src/lib.rs @@ -49,7 +49,7 @@ pub mod test { cli::{parse_opts, TestOpts}, filter_tests, helpers::metrics::{Metric, MetricMap}, - options::{Options, RunIgnored, RunStrategy, ShouldPanic}, + options::{Concurrent, Options, RunIgnored, RunStrategy, ShouldPanic}, run_test, test_main, test_main_static, test_result::{TestResult, TrFailed, TrFailedMsg, TrIgnored, TrOk}, time::{TestExecTime, TestTimeOptions}, |
