Skip to content

Commit

Permalink
Include test crates as workspace members rather that dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Dec 7, 2017
1 parent 05a364c commit 9d898cd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 40 deletions.
15 changes: 0 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions Cargo.toml
@@ -1,8 +1,12 @@
[workspace]
members = [
"ports/cef",
"ports/geckolib",
"ports/servo",
"tests/unit/*",

"ports/geckolib",
"ports/geckolib/tests",

"ports/cef",
]
exclude = [".cargo"]

Expand Down
3 changes: 0 additions & 3 deletions ports/geckolib/Cargo.toml
Expand Up @@ -31,6 +31,3 @@ servo_arc = {path = "../../components/servo_arc"}
smallvec = "0.6"
style = {path = "../../components/style", features = ["gecko"]}
style_traits = {path = "../../components/style_traits"}

[dev-dependencies]
stylo_tests = {path = "./tests"}
18 changes: 1 addition & 17 deletions ports/servo/Cargo.toml
Expand Up @@ -13,22 +13,6 @@ path = "main.rs"
test = 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]
default = ["unstable", "default-except-unstable"]
default-except-unstable = ["webdriver", "max_log_level"]
Expand All @@ -38,7 +22,7 @@ energy-profiling = ["libservo/energy-profiling"]
debugmozjs = ["libservo/debugmozjs"]
googlevr = ["libservo/googlevr"]
oculusvr = ["libservo/oculusvr"]
unstable = ["libservo/unstable", "profile_tests/unstable"]
unstable = ["libservo/unstable"]

[dependencies]
backtrace = "0.3"
Expand Down
3 changes: 0 additions & 3 deletions tests/unit/profile/Cargo.toml
Expand Up @@ -9,9 +9,6 @@ name = "profile_tests"
path = "lib.rs"
doctest = false

[features]
unstable = ["servo_allocator/unstable"]

[dependencies]
ipc-channel = "0.9"
profile = {path = "../../../components/profile"}
Expand Down

0 comments on commit 9d898cd

Please sign in to comment.