Skip to content

Commit e4a6210

Browse files
authored
Rollup merge of #41037 - stjepang:move-libxtest, r=alexcrichton
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. r? @alexcrichton
2 parents 1a4aab9 + 13c744f commit e4a6210

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+10
-10
lines changed

src/libcollections/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ core = { path = "../libcore" }
1313
std_unicode = { path = "../libstd_unicode" }
1414

1515
[[test]]
16-
name = "collectionstest"
17-
path = "../libcollectionstest/lib.rs"
16+
name = "collectionstests"
17+
path = "../libcollections/tests/lib.rs"
1818

1919
[[bench]]
2020
name = "collectionsbenches"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/libcore/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ test = false
1010
bench = false
1111

1212
[[test]]
13-
name = "coretest"
14-
path = "../libcoretest/lib.rs"
13+
name = "coretests"
14+
path = "../libcore/tests/lib.rs"
1515

1616
[[bench]]
1717
name = "corebenches"

src/libcore/num/bignum.rs

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

src/libcore/num/diy_float.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

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

src/libcore/num/flt2dec/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ provide a large enough buffer and `Part` array, and to assemble the final
118118
string from resulting `Part`s itself.
119119
120120
All algorithms and formatting functions are accompanied by extensive tests
121-
in `coretest::num::flt2dec` module. It also shows how to use individual
121+
in `coretests::num::flt2dec` module. It also shows how to use individual
122122
functions.
123123
124124
*/

src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl<T: fmt::UpperHex> fmt::UpperHex for Wrapping<T> {
9090

9191
mod wrapping;
9292

93-
// All these modules are technically private and only exposed for libcoretest:
93+
// All these modules are technically private and only exposed for coretests:
9494
pub mod flt2dec;
9595
pub mod dec2flt;
9696
pub mod bignum;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/libcoretest/str.rs renamed to src/libcore/tests/str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// All `str` tests live in libcollectiontest::str
11+
// All `str` tests live in collectionstests::str
File renamed without changes.

src/tools/tidy/src/pal.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const EXCEPTION_PATHS: &'static [&'static str] = &[
7575
"src/libtest", // Probably should defer to unstable std::sys APIs
7676

7777
// std testing crates, ok for now at least
78-
"src/libcoretest",
78+
"src/libcore/tests",
7979

8080
// non-std crates
8181
"src/test",

0 commit comments

Comments
 (0)