summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-03-04 18:17:41 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-03-19 13:58:48 +0100
commitcf5c3600648cb2acf42aaa4af5822b4489c86e01 (patch)
tree2b4f3975a8dd8f14b4e46cd51c046434c87b9e8a /src/libtest
parenta5e7f0c75b5db5c0ded0b46437ba17673cb98aa9 (diff)
downloadrust-cf5c3600648cb2acf42aaa4af5822b4489c86e01.tar.gz
rust-cf5c3600648cb2acf42aaa4af5822b4489c86e01.zip
Export stats::Summary from libtest
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index bd7f89c3f66..3fcba0f5791 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -17,11 +17,14 @@
 #![feature(test)]
 
 extern crate libtest;
+
+// FIXME: we should be more explicit about the exact APIs that we
+// export to users.
 pub use libtest::{
     assert_test_result, filter_tests, parse_opts, run_test, test_main, test_main_static,
     Bencher, DynTestFn, DynTestName, Metric, MetricMap, Options, RunIgnored, ShouldPanic,
     StaticBenchFn, StaticTestFn, StaticTestName, TestDesc, TestDescAndFn, TestName, TestOpts,
-    TestResult, TrFailed, TrFailedMsg, TrIgnored, TrOk,
+    TestResult, TrFailed, TrFailedMsg, TrIgnored, TrOk, stats::Summary
 };
 
 /// A function that is opaque to the optimizer, to allow benchmarks to