[Webkit-unassigned] [Bug 88551] New: run-webkit-tests --lint-test-files gives an error when run on linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 7 10:36:19 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88551

           Summary: run-webkit-tests --lint-test-files gives an error when
                    run on linux
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ojan at chromium.org
                CC: dpranke at chromium.org, rniwa at webkit.org


$ run-webkit-tests --lint-test-files
Traceback (most recent call last):
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 454, in <module>
    sys.exit(main())
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 449, in main
    return run(port, options, args)
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 95, in run
    return lint(port, options)
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py", line 65, in lint
    test_expectations.TestExpectations(port_to_lint, is_lint_mode=True)
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py", line 732, in __init__
    self._expectations = self._parser.parse(port.test_expectations())
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/chromium.py", line 319, in test_expectations
    return self._filesystem.read_text_file(expectations_path)
  File "/media/src/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py", line 218, in read_text_file
    with codecs.open(path, 'r', 'utf8') as f:
  File "/usr/lib/python2.6/codecs.py", line 870, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/media/src/chromium/src/third_party/WebKit/LayoutTests/platform/google-chrome-linux32/TestExpectations'
Failed to execute Tools/Scripts/new-run-webkit-tests at /work/chromium/src/third_party/WebKit/Tools/Scripts/run-webkit-tests line 122.

It works fine if I pass --platform=chromium-linux though. So, this isn't blocking me gardening or anything.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list