Add support for running W3C CSS tests.

These are run through the same harness as the web-platform-tests.
This commit is contained in:
James Graham 2015-03-27 21:23:44 +00:00
parent 2bde318d24
commit b2a5225831
5 changed files with 110 additions and 1 deletions

19
tests/wpt/run_css.py Normal file
View file

@ -0,0 +1,19 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#!/usr/bin/env python
import run
paths = {"include_manifest": run.wpt_path("include_css.ini"),
"config": run.wpt_path("config_css.ini")}
def run_tests(**kwargs):
return run.run_tests(paths=paths, **kwargs)
def main():
return run.main(paths)
if __name__ == "__main__":
sys.exit(0 if main() else 1)