Title: [287257] trunk/Tools
Revision
287257
Author
[email protected]
Date
2021-12-20 02:55:40 -0800 (Mon, 20 Dec 2021)

Log Message

Fix Tools/Scripts/webkitpy/w3c/test_importer.py
https://bugs.webkit.org/show_bug.cgi?id=234480

Reviewed by Manuel Rego Casasnovas.

* Scripts/webkitpy/w3c/test_importer.py:
(TestImporter.find_importable_tests):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (287256 => 287257)


--- trunk/Tools/ChangeLog	2021-12-20 10:40:07 UTC (rev 287256)
+++ trunk/Tools/ChangeLog	2021-12-20 10:55:40 UTC (rev 287257)
@@ -1,3 +1,13 @@
+2021-12-20  Tim Nguyen  <[email protected]>
+
+        Fix Tools/Scripts/webkitpy/w3c/test_importer.py
+        https://bugs.webkit.org/show_bug.cgi?id=234480
+
+        Reviewed by Manuel Rego Casasnovas.
+
+        * Scripts/webkitpy/w3c/test_importer.py:
+        (TestImporter.find_importable_tests):
+
 2021-12-20  Lauro Moura  <[email protected]>
 
         REGRESSION(r286936) [GLIB] WebsiteData configuration API test is failing with non-created localstorage dir

Modified: trunk/Tools/Scripts/webkitpy/w3c/test_importer.py (287256 => 287257)


--- trunk/Tools/Scripts/webkitpy/w3c/test_importer.py	2021-12-20 10:40:07 UTC (rev 287256)
+++ trunk/Tools/Scripts/webkitpy/w3c/test_importer.py	2021-12-20 10:55:40 UTC (rev 287257)
@@ -349,7 +349,7 @@
                     # Using a naming convention creates duplicate copies of the
                     # reference files.
                     ref_file = self.filesystem.splitext(test_basename)[0] + '-expected'
-                    if test_info['type'] == 'mismatch':
+                    if 'type' in test_info and test_info['type'] == 'mismatch':
                         ref_file += '-mismatch'
                     ref_file += self.filesystem.splitext(test_info['reference'])[1]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to