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:
parent
5309a3e31d
commit
13c744f30d
64 changed files with 10 additions and 10 deletions
|
@ -13,8 +13,8 @@ core = { path = "../libcore" }
|
|||
std_unicode = { path = "../libstd_unicode" }
|
||||
|
||||
[[test]]
|
||||
name = "collectionstest"
|
||||
path = "../libcollectionstest/lib.rs"
|
||||
name = "collectionstests"
|
||||
path = "../libcollections/tests/lib.rs"
|
||||
|
||||
[[bench]]
|
||||
name = "collectionsbenches"
|
||||
|
|
|
@ -10,8 +10,8 @@ test = false
|
|||
bench = false
|
||||
|
||||
[[test]]
|
||||
name = "coretest"
|
||||
path = "../libcoretest/lib.rs"
|
||||
name = "coretests"
|
||||
path = "../libcore/tests/lib.rs"
|
||||
|
||||
[[bench]]
|
||||
name = "corebenches"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
//! 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.
|
||||
|
||||
// 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.
|
||||
#![doc(hidden)]
|
||||
#![unstable(feature = "core_private_bignum",
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
//! 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.
|
||||
#![doc(hidden)]
|
||||
#![unstable(feature = "core_private_diy_float",
|
||||
|
|
|
@ -118,7 +118,7 @@ provide a large enough buffer and `Part` array, and to assemble the final
|
|||
string from resulting `Part`s itself.
|
||||
|
||||
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.
|
||||
|
||||
*/
|
||||
|
|
|
@ -90,7 +90,7 @@ impl<T: fmt::UpperHex> fmt::UpperHex for Wrapping<T> {
|
|||
|
||||
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 dec2flt;
|
||||
pub mod bignum;
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// All `str` tests live in libcollectiontest::str
|
||||
// All `str` tests live in collectionstests::str
|
|
@ -75,7 +75,7 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[
|
|||
"src/libtest", // Probably should defer to unstable std::sys APIs
|
||||
|
||||
// std testing crates, ok for now at least
|
||||
"src/libcoretest",
|
||||
"src/libcore/tests",
|
||||
|
||||
// non-std crates
|
||||
"src/test",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue