Move libXtest into libX/tests

This change moves:

1. `libcoretest` into `libcore/tests`
2. `libcollectionstest` into `libcollections/tests`

This is a follow-up to #39561.
This commit is contained in:
Stjepan Glavina 2017-04-03 16:53:04 +02:00
parent 5309a3e31d
commit 13c744f30d
64 changed files with 10 additions and 10 deletions

View file

@ -13,8 +13,8 @@ core = { path = "../libcore" }
std_unicode = { path = "../libstd_unicode" } std_unicode = { path = "../libstd_unicode" }
[[test]] [[test]]
name = "collectionstest" name = "collectionstests"
path = "../libcollectionstest/lib.rs" path = "../libcollections/tests/lib.rs"
[[bench]] [[bench]]
name = "collectionsbenches" name = "collectionsbenches"

View file

@ -10,8 +10,8 @@ test = false
bench = false bench = false
[[test]] [[test]]
name = "coretest" name = "coretests"
path = "../libcoretest/lib.rs" path = "../libcore/tests/lib.rs"
[[bench]] [[bench]]
name = "corebenches" name = "corebenches"

View file

@ -19,7 +19,7 @@
//! inputs, but we don't do so to avoid the code bloat. Each bignum is still //! inputs, but we don't do so to avoid the code bloat. Each bignum is still
//! tracked for the actual usages, so it normally doesn't matter. //! tracked for the actual usages, so it normally doesn't matter.
// This module is only for dec2flt and flt2dec, and only public because of libcoretest. // This module is only for dec2flt and flt2dec, and only public because of coretests.
// It is not intended to ever be stabilized. // It is not intended to ever be stabilized.
#![doc(hidden)] #![doc(hidden)]
#![unstable(feature = "core_private_bignum", #![unstable(feature = "core_private_bignum",

View file

@ -10,7 +10,7 @@
//! Extended precision "soft float", for internal use only. //! Extended precision "soft float", for internal use only.
// This module is only for dec2flt and flt2dec, and only public because of libcoretest. // This module is only for dec2flt and flt2dec, and only public because of coretests.
// It is not intended to ever be stabilized. // It is not intended to ever be stabilized.
#![doc(hidden)] #![doc(hidden)]
#![unstable(feature = "core_private_diy_float", #![unstable(feature = "core_private_diy_float",

View file

@ -118,7 +118,7 @@ provide a large enough buffer and `Part` array, and to assemble the final
string from resulting `Part`s itself. string from resulting `Part`s itself.
All algorithms and formatting functions are accompanied by extensive tests All algorithms and formatting functions are accompanied by extensive tests
in `coretest::num::flt2dec` module. It also shows how to use individual in `coretests::num::flt2dec` module. It also shows how to use individual
functions. functions.
*/ */

View file

@ -90,7 +90,7 @@ impl<T: fmt::UpperHex> fmt::UpperHex for Wrapping<T> {
mod wrapping; mod wrapping;
// All these modules are technically private and only exposed for libcoretest: // All these modules are technically private and only exposed for coretests:
pub mod flt2dec; pub mod flt2dec;
pub mod dec2flt; pub mod dec2flt;
pub mod bignum; pub mod bignum;

View file

@ -8,4 +8,4 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// All `str` tests live in libcollectiontest::str // All `str` tests live in collectionstests::str

View file

@ -75,7 +75,7 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[
"src/libtest", // Probably should defer to unstable std::sys APIs "src/libtest", // Probably should defer to unstable std::sys APIs
// std testing crates, ok for now at least // std testing crates, ok for now at least
"src/libcoretest", "src/libcore/tests",
// non-std crates // non-std crates
"src/test", "src/test",