Skip to content

Commit 557cbd0

Browse files
committed
Public some types for compiletest_rs
1 parent 7e0ef6e commit 557cbd0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/libtest/lib.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
pub use self::ColorConfig::*;
3535
pub use self::types::*;
3636
pub use self::types::TestName::*;
37-
pub use self::options::{Options, ShouldPanic};
37+
pub use self::options::{ColorConfig, Options, OutputFormat, RunIgnored, ShouldPanic};
3838
pub use self::bench::{Bencher, black_box};
39+
pub use self::console::run_tests_console;
40+
pub use cli::TestOpts;
3941

4042
// Module to be used by rustc to compile tests in libtest
4143
pub mod test {
@@ -84,9 +86,8 @@ mod tests;
8486

8587
use test_result::*;
8688
use time::TestExecTime;
87-
use options::{RunStrategy, Concurrent, RunIgnored, ColorConfig};
89+
use options::{RunStrategy, Concurrent};
8890
use event::{CompletedTest, TestEvent};
89-
use cli::TestOpts;
9091
use helpers::sink::Sink;
9192
use helpers::concurrency::get_concurrency;
9293
use helpers::exit_code::get_exit_code;

0 commit comments

Comments
 (0)