diff options
| author | Lzu Tao <taolzu@gmail.com> | 2019-10-23 03:49:42 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2019-10-23 03:49:42 +0000 |
| commit | 557cbd0fd5c783a69a259118ac578e4d575dc7a6 (patch) | |
| tree | 489b9db728d9cbd8c474348227ecce7429cde90d | |
| parent | 7e0ef6e92e327e9d49b1f4a4202a308ad3936d36 (diff) | |
| download | rust-557cbd0fd5c783a69a259118ac578e4d575dc7a6.tar.gz rust-557cbd0fd5c783a69a259118ac578e4d575dc7a6.zip | |
Public some types for compiletest_rs
| -rw-r--r-- | src/libtest/lib.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 179558e8f9a..8c1e9f1722a 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -34,8 +34,10 @@ pub use self::ColorConfig::*; pub use self::types::*; pub use self::types::TestName::*; -pub use self::options::{Options, ShouldPanic}; +pub use self::options::{ColorConfig, Options, OutputFormat, RunIgnored, ShouldPanic}; pub use self::bench::{Bencher, black_box}; +pub use self::console::run_tests_console; +pub use cli::TestOpts; // Module to be used by rustc to compile tests in libtest pub mod test { @@ -84,9 +86,8 @@ mod tests; use test_result::*; use time::TestExecTime; -use options::{RunStrategy, Concurrent, RunIgnored, ColorConfig}; +use options::{RunStrategy, Concurrent}; use event::{CompletedTest, TestEvent}; -use cli::TestOpts; use helpers::sink::Sink; use helpers::concurrency::get_concurrency; use helpers::exit_code::get_exit_code; |
