aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-11-02 11:35:01 -0500
committerGitHub <noreply@github.com>2017-11-02 11:35:01 -0500
commit86b9e7d7d604e00cfd7ab63351d3221cd5cf872e (patch)
tree9421baf339489b4460fa52888df9140c534a633e /python/servo/testing_commands.py
parent7f2ac4c559a2ff99ed7571af646ecee3f33168c3 (diff)
parent28c20988f0d8137d30b458f24aef75d7cb3f764f (diff)
downloadservo-86b9e7d7d604e00cfd7ab63351d3221cd5cf872e.tar.gz
servo-86b9e7d7d604e00cfd7ab63351d3221cd5cf872e.zip
Auto merge of #19070 - jdm:csstests, r=metajack
Enable CSS tests. Do not merge this; I'm looking into what it takes to stop running the test-css jobs. <!-- 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/19070) <!-- Reviewable:end -->
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 9c322694f12..23bbe5eabda 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -53,9 +53,6 @@ TEST_SUITES = OrderedDict([
"paths": [path.abspath(WEB_PLATFORM_TESTS_PATH),
path.abspath(SERVO_TESTS_PATH)],
"include_arg": "include"}),
- ("css", {"kwargs": {"release": False},
- "paths": [path.abspath(path.join("tests", "wpt", "css-tests"))],
- "include_arg": "include"}),
("unit", {"kwargs": {},
"paths": [path.abspath(path.join("tests", "unit"))],
"include_arg": "test_name"}),
@@ -116,7 +113,6 @@ class MachCommands(CommandBase):
suites["tidy"]["kwargs"] = {"all_files": tidy_all, "no_progress": no_progress, "self_test": self_test,
"stylo": False}
suites["wpt"]["kwargs"] = {"release": release}
- suites["css"]["kwargs"] = {"release": release}
suites["unit"]["kwargs"] = {}
suites["compiletest"]["kwargs"] = {"release": release}
@@ -610,41 +606,6 @@ class MachCommands(CommandBase):
def update_jquery(self, release, dev):
return self.jquery_test_runner("update", release, dev)
- @Command('test-css',
- description='Run the web platform CSS tests',
- category='testing',
- parser=create_parser_wpt)
- def test_css(self, **kwargs):
- self.ensure_bootstrapped()
- ret = self.run_test_list_or_dispatch(kwargs["test_list"], "css", self._test_css, **kwargs)
- if kwargs["always_succeed"]:
- return 0
- else:
- return ret
-
- def _test_css(self, **kwargs):
- run_file = path.abspath(path.join("tests", "wpt", "run_css.py"))
- return self.wptrunner(run_file, **kwargs)
-
- @Command('update-css',
- description='Update the web platform CSS tests',
- category='testing',
- parser=updatecommandline.create_parser())
- @CommandArgument('--patch', action='store_true', default=False,
- help='Create an mq patch or git commit containing the changes')
- def update_css(self, patch, **kwargs):
- self.ensure_bootstrapped()
- run_file = path.abspath(path.join("tests", "wpt", "update_css.py"))
- kwargs["no_patch"] = not patch
-
- if kwargs["no_patch"] and kwargs["sync"]:
- print("Are you sure you don't want a patch?")
- return 1
-
- run_globals = {"__file__": run_file}
- execfile(run_file, run_globals)
- return run_globals["update_tests"](**kwargs)
-
@Command('compare_dromaeo',
description='Compare outputs of two runs of ./mach test-dromaeo command',
category='testing')