Update web-platform-tests to revision 14cfa4d648cc1c853b4153268df672d21425f8c1

This commit is contained in:
Josh Matthews 2017-10-30 09:31:22 -04:00
parent 1b73cf3352
commit 75736751d9
1213 changed files with 19434 additions and 12344 deletions

View file

@ -21,6 +21,7 @@ job_path_map = {
"!.*/README",
"!css/[^/]*$"],
"lint": [".*"],
"manifest_upload": [".*"],
"resources_unittest": ["resources/"],
"tools_unittest": ["tools/"],
"wptrunner_unittest": ["tools/wptrunner/*"],
@ -99,6 +100,12 @@ def get_jobs(paths, **kwargs):
if not rules:
break
# Default jobs shuld run even if there were no changes
if not paths:
for job, path_re in iteritems(job_path_map):
if ".*" in path_re:
jobs.add(job)
return jobs
@ -116,4 +123,4 @@ def run(**kwargs):
for item in sorted(jobs):
print(item)
else:
return 0 if set(kwargs["includes"]) == jobs else 1
return 0 if set(kwargs["includes"]).issubset(jobs) else 1