Changeset 205453 in webkit


Ignore:
Timestamp:
Sep 5, 2016 7:34:09 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Fix W3C test importer unit tests after r205447
https://bugs.webkit.org/show_bug.cgi?id=161604

Unreviewed.

Patch by Youenn Fablet <youenn@apple.com> on 2016-09-05

  • Scripts/webkitpy/w3c/test_importer.py:

(TestImporter.init): Skip cleaning test_resource_files files if resource-files.json cannot be read.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r205451 r205453  
     12016-09-05  Youenn Fablet  <youenn@apple.com>
     2
     3        Fix W3C test importer unit tests after r205447
     4        https://bugs.webkit.org/show_bug.cgi?id=161604
     5
     6        Unreviewed.
     7
     8        * Scripts/webkitpy/w3c/test_importer.py:
     9        (TestImporter.__init__): Skip cleaning test_resource_files files if resource-files.json cannot be read.
     10
    1112016-09-05  Philippe Normand  <pnormand@igalia.com>
    212
  • trunk/Tools/Scripts/webkitpy/w3c/test_importer.py

    r205447 r205453  
    181181        self._test_resource_files_json_path = self.filesystem.join(self.layout_tests_w3c_path, "resources", "resource-files.json")
    182182        self._test_resource_files = json.loads(self.filesystem.read_text_file(self._test_resource_files_json_path)) if self.filesystem.exists(self._test_resource_files_json_path) else None
    183         if self.options.clean_destination_directory:
     183        if self.options.clean_destination_directory and self._test_resource_files:
    184184            self._test_resource_files["files"] = []
    185185
Note: See TracChangeset for help on using the changeset viewer.