Public some types for compiletest_rs

This commit is contained in:
Lzu Tao 2019-10-23 03:49:42 +00:00
parent 7e0ef6e92e
commit 557cbd0fd5

View File

@ -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 @@ pub mod test {
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;