Auto merge of #13386 - Manishearth:style-testing, r=emilio

Run style tests with all properties included

This turns on all properties (including stylo-only ones) when the style unit tests are compiled. This lets us test the parsing of gecko-only properties.

These tests can't go in tests/stylo since this introduces dependencies on `Gecko_*` symbols. This method lets us test parsing and serialization of geckolib properties compiled in Servo mode (e.g. using Servo atoms, Servo URLs)

r? @emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13386)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-09-24 00:36:28 -05:00 committed by GitHub
commit 28bce69d24
6 changed files with 20 additions and 7 deletions

View file

@ -208,7 +208,7 @@ class MachCommands(CommandBase):
if not packages:
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit")))
packages.remove('stylo')
packages.discard('stylo')
args = ["cargo", "test"]
for crate in packages: