<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>51548</bug_id>
          
          <creation_ts>2010-12-23 11:33:31 -0800</creation_ts>
          <short_desc>check-webkit-style doesn&apos;t check all of the ports when linting test expectations</short_desc>
          <delta_ts>2012-09-27 12:34:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NRWT</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>51222</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>levin</cc>
    
    <cc>ojan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>326180</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-12-23 11:33:31 -0800</bug_when>
    <thetext>The code in the TestExpectations style checker only lints the test expectations file against the port it is running on. It really should be linting against all ports, like new-run-webkit-tests --lint-test-files does.

The easiest fix is to just have it call into the lint routines in webkitpy/layout_tests ... I should probably refactor that logic out of TestRunner and into test_expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326182</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-12-23 11:34:21 -0800</bug_when>
    <thetext>There&apos;s no point in fixing this before we fix/land 51222, since all of the logic changes in that fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326185</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-12-23 11:42:10 -0800</bug_when>
    <thetext>Bug 51500 gave a false positive on the style bot because of this (as an example).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>326187</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2010-12-23 11:43:53 -0800</bug_when>
    <thetext>There&apos;s also a lot of testing duplicated between the style checker and the unit tests for the expectations parser that&apos;s kind of unnecessary and can lead to confusion (see, e.g. bug 48426 for an example where one set of tests was updated but the other wasn&apos;t).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729773</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2012-09-27 12:34:48 -0700</bug_when>
    <thetext>I&apos;m pretty sure I fixed this a while ago. It seems to e be working now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>