servo: Merge #11848 - Update web-platform-tests to revision 346d5b51a122f7bb1c7747064499ef281a0200f7 (from servo:wpt-20160624); r=Ms2ger
authorMs2ger <Ms2ger@gmail.com>
Fri, 24 Jun 2016 04:36:53 -0500
changeset 339126 d2102be619aa081dce4a3e5f40078472f3f067b9
parent 339125 ba547265f5b3d4ee09515147adaac2bf24c06415
child 339127 57b84af25bae5af4b5f407f74017319d5695d829
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
servo: Merge #11848 - Update web-platform-tests to revision 346d5b51a122f7bb1c7747064499ef281a0200f7 (from servo:wpt-20160624); r=Ms2ger Source-Repo: https://github.com/servo/servo Source-Revision: 235a6a6380f50985dcbce9fa3901551cc111c954
servo/python/tidy/servo_tidy/tidy.py
--- a/servo/python/tidy/servo_tidy/tidy.py
+++ b/servo/python/tidy/servo_tidy/tidy.py
@@ -616,17 +616,17 @@ def get_wpt_files(only_changed_files, pr
             yield f[len(wpt_dir):]
 
 
 def check_wpt_lint_errors(files):
     wpt_working_dir = os.path.abspath(os.path.join(".", "tests", "wpt", "web-platform-tests"))
     if os.path.isdir(wpt_working_dir):
         site.addsitedir(wpt_working_dir)
         from tools.lint import lint
-        returncode = lint.lint(files)
+        returncode = lint.lint(wpt_working_dir, files, output_json=False)
         if returncode:
             yield ("WPT Lint Tool", "", "lint error(s) in Web Platform Tests: exit status {0}".format(returncode))
 
 
 def get_file_list(directory, only_changed_files=False, exclude_dirs=[]):
     if only_changed_files:
         # only check the files that have been changed since the last merge
         args = ["git", "log", "-n1", "--author=bors-servo", "--format=%H"]