mirror of
https://github.com/servo/servo.git
synced 2025-08-26 15:48:22 +01:00
Replace compiletest suite by doc-tests with compile_fail
compiletest-rs use internal rustc APIs and is broken in today’s Nightly. rustdoc however is maintained with rustc and so much less fragile.
This commit is contained in:
parent
d96f0ff6a7
commit
b1ce298d4b
18 changed files with 266 additions and 239 deletions
54
Cargo.lock
generated
54
Cargo.lock
generated
|
@ -440,22 +440,6 @@ name = "color_quant"
|
|||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "compiletest_helper"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"compiletest_rs 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "compiletest_rs"
|
||||
version = "0.2.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "compositing"
|
||||
version = "0.0.1"
|
||||
|
@ -702,6 +686,13 @@ dependencies = [
|
|||
"synstructure 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "deny_public_fields_tests"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"deny_public_fields 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "device"
|
||||
version = "0.0.1"
|
||||
|
@ -1737,6 +1728,14 @@ dependencies = [
|
|||
"synstructure 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "malloc_size_of_tests"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"malloc_size_of 0.0.1",
|
||||
"servo_arc 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "markup5ever"
|
||||
version = "0.6.2"
|
||||
|
@ -2358,16 +2357,6 @@ dependencies = [
|
|||
"num-traits 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "plugin_compiletest"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"compiletest_helper 0.0.1",
|
||||
"deny_public_fields 0.0.1",
|
||||
"script 0.0.1",
|
||||
"script_plugins 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "png"
|
||||
version = "0.11.0"
|
||||
|
@ -2728,6 +2717,13 @@ dependencies = [
|
|||
name = "script_plugins"
|
||||
version = "0.0.1"
|
||||
|
||||
[[package]]
|
||||
name = "script_plugins_tests"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"script_plugins 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "script_tests"
|
||||
version = "0.0.1"
|
||||
|
@ -2859,18 +2855,19 @@ dependencies = [
|
|||
"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)",
|
||||
"browserhtml 0.1.17 (git+https://github.com/browserhtml/browserhtml?branch=crate)",
|
||||
"compiletest_helper 0.0.1",
|
||||
"deny_public_fields_tests 0.0.1",
|
||||
"gfx_tests 0.0.1",
|
||||
"glutin_app 0.0.1",
|
||||
"layout_tests 0.0.1",
|
||||
"libservo 0.0.1",
|
||||
"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",
|
||||
"plugin_compiletest 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",
|
||||
|
@ -3896,7 +3893,6 @@ dependencies = [
|
|||
"checksum coco 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c06169f5beb7e31c7c67ebf5540b8b472d23e3eade3b2ec7d1f5b504a85f91bd"
|
||||
"checksum cocoa 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac0d785ff4faf0ff23d7b5561346bb50dc7ef9a11cb0e65e07ef776b7752938f"
|
||||
"checksum color_quant 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a475fc4af42d83d28adf72968d9bcfaf035a1a9381642d8e85d8a04957767b0d"
|
||||
"checksum compiletest_rs 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "617b23d0ed4f57b3bcff6b5fe0a78f0010f1efb636298317665a960b6dbc0533"
|
||||
"checksum cookie 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "30b3493e12a550c2f96be785088d1da8d93189e7237c8a8d0d871bc9070334c3"
|
||||
"checksum cookie 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "477eb650753e319be2ae77ec368a58c638f9f0c4d941c39bad95e950fb1d1d0d"
|
||||
"checksum core-foundation 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5909502e547762013619f4c4e01cc7393c20fe2d52d7fa471c1210adb2320dc7"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue