Put all coretests in a separate crate

This commit is contained in:
bjorn3 2024-12-04 13:07:14 +00:00
parent c2270becb6
commit b6a3841942
163 changed files with 37 additions and 17 deletions

View file

@ -72,6 +72,10 @@ dependencies = [
[[package]]
name = "core"
version = "0.0.0"
[[package]]
name = "coretests"
version = "0.0.0"
dependencies = [
"rand",
"rand_xorshift",

View file

@ -3,6 +3,7 @@ resolver = "1"
members = [
"std",
"sysroot",
"coretests",
]
exclude = [

View file

@ -15,19 +15,6 @@ edition = "2021"
test = false
bench = false
[[test]]
name = "coretests"
path = "tests/lib.rs"
[[bench]]
name = "corebenches"
path = "benches/lib.rs"
test = true
[dev-dependencies]
rand = { version = "0.8.5", default-features = false }
rand_xorshift = { version = "0.3.0", default-features = false }
[features]
# Make panics and failed asserts immediately abort without formatting any message
panic_immediate_abort = []

View file

@ -0,0 +1,27 @@
[package]
name = "coretests"
version = "0.0.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust.git"
description = "Tests for the Rust Core Library"
autotests = false
autobenches = false
edition = "2021"
[lib]
path = "lib.rs"
test = false
bench = false
[[test]]
name = "coretests"
path = "tests/lib.rs"
[[bench]]
name = "corebenches"
path = "benches/lib.rs"
test = true
[dev-dependencies]
rand = { version = "0.8.5", default-features = false }
rand_xorshift = { version = "0.3.0", default-features = false }

1
library/coretests/lib.rs Normal file
View file

@ -0,0 +1 @@
// Intentionally left empty.

Some files were not shown because too many files have changed in this diff Show more