-
- Downloads
servo: Merge #17974 - remove testing feature from stylo_tests (from...
servo: Merge #17974 - remove testing feature from stylo_tests (from froydnj:remove-testing-feature); r=SimonSapin `stylo_tests` currently requires a separate version of the `style` crate, compiled with the `testing` feature, so a function testing the size of specified values can be accessed. With a few tweaks, we can make the information needed for the test available to the `stylo_tests` crate directly, eliminating the need for a separately-compiled `style` crate. This doesn't matter much for Servo itself (it might make CI times slightly faster?), but Gecko automation/development would like to run `stylo_tests`, and not having to compile two versions of the `style` crate (or have a dead, test-only function hanging around in the `style` crate) would be a win. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are tests for these changes Source-Repo: https://github.com/servo/servo Source-Revision: a6369149dc5344b2b80a12fca1c43cf99c94fdc9 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : f23cc39c69a996f3d1023f4c00f8d564d4a3e97f
Showing
- servo/components/style/lib.rs 1 addition, 1 deletionservo/components/style/lib.rs
- servo/components/style/properties/properties.mako.rs 2 additions, 38 deletionsservo/components/style/properties/properties.mako.rs
- servo/tests/unit/style/Cargo.toml 0 additions, 3 deletionsservo/tests/unit/style/Cargo.toml
- servo/tests/unit/style/lib.rs 3 additions, 1 deletionservo/tests/unit/style/lib.rs
- servo/tests/unit/style/size_of.rs 0 additions, 5 deletionsservo/tests/unit/style/size_of.rs
- servo/tests/unit/stylo/Cargo.toml 0 additions, 3 deletionsservo/tests/unit/stylo/Cargo.toml
- servo/tests/unit/stylo/lib.rs 1 addition, 0 deletionsservo/tests/unit/stylo/lib.rs
- servo/tests/unit/stylo/size_of.rs 0 additions, 5 deletionsservo/tests/unit/stylo/size_of.rs
- servo/tests/unit/stylo/specified_values.rs 49 additions, 0 deletionsservo/tests/unit/stylo/specified_values.rs
Loading
Please register or sign in to comment