mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Include test crates as workspace members rather that dev-dependencies
This commit is contained in:
parent
05a364c7b8
commit
9d898cd460
5 changed files with 7 additions and 40 deletions
15
Cargo.lock
generated
15
Cargo.lock
generated
|
@ -1050,7 +1050,6 @@ dependencies = [
|
||||||
"smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"style_traits 0.0.1",
|
"style_traits 0.0.1",
|
||||||
"stylo_tests 0.0.1",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -2807,24 +2806,10 @@ dependencies = [
|
||||||
"android_injected_glue 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"android_injected_glue 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"browserhtml 0.1.17 (git+https://github.com/browserhtml/browserhtml?branch=crate)",
|
"browserhtml 0.1.17 (git+https://github.com/browserhtml/browserhtml?branch=crate)",
|
||||||
"deny_public_fields_tests 0.0.1",
|
|
||||||
"gfx_tests 0.0.1",
|
|
||||||
"glutin_app 0.0.1",
|
"glutin_app 0.0.1",
|
||||||
"layout_tests 0.0.1",
|
|
||||||
"libservo 0.0.1",
|
"libservo 0.0.1",
|
||||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"malloc_size_of_tests 0.0.1",
|
|
||||||
"metrics_tests 0.0.1",
|
|
||||||
"msg_tests 0.0.1",
|
|
||||||
"net_tests 0.0.1",
|
|
||||||
"net_traits_tests 0.0.1",
|
|
||||||
"profile_tests 0.0.1",
|
|
||||||
"script_plugins_tests 0.0.1",
|
|
||||||
"script_tests 0.0.1",
|
|
||||||
"servo_config_tests 0.0.1",
|
|
||||||
"servo_remutex_tests 0.0.1",
|
|
||||||
"sig 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"sig 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style_tests 0.0.1",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"ports/cef",
|
|
||||||
"ports/geckolib",
|
|
||||||
"ports/servo",
|
"ports/servo",
|
||||||
|
"tests/unit/*",
|
||||||
|
|
||||||
|
"ports/geckolib",
|
||||||
|
"ports/geckolib/tests",
|
||||||
|
|
||||||
|
"ports/cef",
|
||||||
]
|
]
|
||||||
exclude = [".cargo"]
|
exclude = [".cargo"]
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,3 @@ servo_arc = {path = "../../components/servo_arc"}
|
||||||
smallvec = "0.6"
|
smallvec = "0.6"
|
||||||
style = {path = "../../components/style", features = ["gecko"]}
|
style = {path = "../../components/style", features = ["gecko"]}
|
||||||
style_traits = {path = "../../components/style_traits"}
|
style_traits = {path = "../../components/style_traits"}
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
stylo_tests = {path = "./tests"}
|
|
||||||
|
|
|
@ -13,22 +13,6 @@ path = "main.rs"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
deny_public_fields_tests = {path = "../../tests/unit/deny_public_fields"}
|
|
||||||
gfx_tests = {path = "../../tests/unit/gfx"}
|
|
||||||
layout_tests = {path = "../../tests/unit/layout"}
|
|
||||||
malloc_size_of_tests = {path = "../../tests/unit/malloc_size_of"}
|
|
||||||
metrics_tests = {path = "../../tests/unit/metrics"}
|
|
||||||
msg_tests = {path = "../../tests/unit/msg"}
|
|
||||||
net_tests = {path = "../../tests/unit/net"}
|
|
||||||
net_traits_tests = {path = "../../tests/unit/net_traits"}
|
|
||||||
profile_tests = {path = "../../tests/unit/profile"}
|
|
||||||
script_tests = {path = "../../tests/unit/script"}
|
|
||||||
script_plugins_tests = {path = "../../tests/unit/script_plugins"}
|
|
||||||
servo_config_tests = {path = "../../tests/unit/servo_config"}
|
|
||||||
servo_remutex_tests = {path = "../../tests/unit/servo_remutex"}
|
|
||||||
style_tests = {path = "../../tests/unit/style"}
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["unstable", "default-except-unstable"]
|
default = ["unstable", "default-except-unstable"]
|
||||||
default-except-unstable = ["webdriver", "max_log_level"]
|
default-except-unstable = ["webdriver", "max_log_level"]
|
||||||
|
@ -38,7 +22,7 @@ energy-profiling = ["libservo/energy-profiling"]
|
||||||
debugmozjs = ["libservo/debugmozjs"]
|
debugmozjs = ["libservo/debugmozjs"]
|
||||||
googlevr = ["libservo/googlevr"]
|
googlevr = ["libservo/googlevr"]
|
||||||
oculusvr = ["libservo/oculusvr"]
|
oculusvr = ["libservo/oculusvr"]
|
||||||
unstable = ["libservo/unstable", "profile_tests/unstable"]
|
unstable = ["libservo/unstable"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
backtrace = "0.3"
|
backtrace = "0.3"
|
||||||
|
|
|
@ -9,9 +9,6 @@ name = "profile_tests"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[features]
|
|
||||||
unstable = ["servo_allocator/unstable"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ipc-channel = "0.9"
|
ipc-channel = "0.9"
|
||||||
profile = {path = "../../../components/profile"}
|
profile = {path = "../../../components/profile"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue