mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add infrastructure for compiletests
Also adds compilefail tests for some lints, closes #5646.
This commit is contained in:
parent
46b3eb6535
commit
dfdbcabc2e
13 changed files with 257 additions and 1 deletions
25
components/servo/Cargo.lock
generated
25
components/servo/Cargo.lock
generated
|
@ -6,6 +6,7 @@ dependencies = [
|
|||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"canvas 0.0.1",
|
||||
"canvas_traits 0.0.1",
|
||||
"compiletest_helper 0.0.1",
|
||||
"compositing 0.0.1",
|
||||
"devtools 0.0.1",
|
||||
"devtools_traits 0.0.1",
|
||||
|
@ -28,6 +29,7 @@ dependencies = [
|
|||
"net_traits 0.0.1",
|
||||
"net_traits_tests 0.0.1",
|
||||
"offscreen_gl_context 0.1.0 (git+https://github.com/ecoal95/rust-offscreen-rendering-context)",
|
||||
"plugin_compiletest 0.0.1",
|
||||
"plugin_tests 0.0.1",
|
||||
"profile 0.0.1",
|
||||
"profile_traits 0.0.1",
|
||||
|
@ -236,6 +238,21 @@ 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.0.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "compiletest_rs"
|
||||
version = "0.0.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "compositing"
|
||||
version = "0.0.1"
|
||||
|
@ -1373,6 +1390,14 @@ name = "pkg-config"
|
|||
version = "0.3.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "plugin_compiletest"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"compiletest_helper 0.0.1",
|
||||
"plugins 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "plugin_tests"
|
||||
version = "0.0.1"
|
||||
|
|
|
@ -41,6 +41,12 @@ path = "../../tests/unit/style"
|
|||
[dev-dependencies.util_tests]
|
||||
path = "../../tests/unit/util"
|
||||
|
||||
[dev-dependencies.compiletest_helper]
|
||||
path = "../../tests/compiletest/helper"
|
||||
|
||||
[dev-dependencies.plugin_compiletest]
|
||||
path = "../../tests/compiletest/plugin"
|
||||
|
||||
[[test]]
|
||||
name = "reftest"
|
||||
path = "../../tests/reftest.rs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue