RESOLVED FIXED133297
Fix test failures on python test
https://bugs.webkit.org/show_bug.cgi?id=133297
Summary Fix test failures on python test
Gyuyoung Kim
Reported 2014-05-26 21:38:32 PDT
There are 2 fails on python test because of unbounded local variable reference as below, [1214/1422] webkitpy.w3c.test_importer_unittest.TestImporterTest.test_import_dir_with_no_tests_and_no_hg erred: Traceback (most recent call last): File "/home/buildbot/efl-linux-slave-1/efl-linux-64-release-wk1/build/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py", line 62, in test_import_dir_with_no_tests_and_no_hg importer.do_import() File "/home/buildbot/efl-linux-slave-1/efl-linux-64-release-wk1/build/Tools/Scripts/webkitpy/w3c/test_importer.py", line 197, in do_import self.import_tests() File "/home/buildbot/efl-linux-slave-1/efl-linux-64-release-wk1/build/Tools/Scripts/webkitpy/w3c/test_importer.py", line 377, in import_tests if len(failed_conversion_files): UnboundLocalError: local variable 'failed_conversion_files' referenced before assignment
Attachments
Patch (1.68 KB, patch)
2014-05-26 21:41 PDT, Gyuyoung Kim
krit: review+
Gyuyoung Kim
Comment 1 2014-05-26 21:41:11 PDT
Dirk Schulze
Comment 2 2014-05-26 22:36:33 PDT
Comment on attachment 232109 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232109&action=review > Tools/ChangeLog:8 > + 2 tests are failed because of unbounded local variable reference in test_importer.py. s/failed/failing/ or the other way around and remove "are".
Gyuyoung Kim
Comment 3 2014-05-26 22:39:11 PDT
Gyuyoung Kim
Comment 4 2014-05-26 22:39:54 PDT
(In reply to comment #2) > (From update of attachment 232109 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=232109&action=review > > > Tools/ChangeLog:8 > > + 2 tests are failed because of unbounded local variable reference in test_importer.py. > > s/failed/failing/ or the other way around and remove "are". Patch is landed after fixing it. Thanks.
Gyuyoung Kim
Comment 5 2014-05-26 23:47:35 PDT
For the record, this problem came from http://trac.webkit.org/changeset/169347.
Note You need to log in before you can comment on or make changes to this bug.