<?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>174504</bug_id>
          
          <creation_ts>2017-07-14 09:10:29 -0700</creation_ts>
          <short_desc>Marking a directory as [ Pass ] or [ Failure ] or [ Crash ] should not override test-specific expectations</short_desc>
          <delta_ts>2017-08-28 09:05:42 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jlewis3</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1328786</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-07-14 09:10:29 -0700</bug_when>
    <thetext>Currently, when we mark an entire directory as something, we simply recursively mark every test in that directory as Pass/Failure/Crash/Skip.  We should be smarter about this, particularly with &apos;Pass.&apos;  For example:

TestExpectations: edit/mac [ Skip ]
platform/wk2/TestExpectations: edit/mac/some-test.html [ Failure ] # XYZ is not implemented in WK2
platform/mac/TestExpectations: edit/mac [ Pass ] # Now edit/mac/some-test.html is marked as passing

This results in 1) duplicated expectations, 2) bugs separated across expectation files and 3) it being difficult to garden tests since platforms frequently mark entire directories as [ Pass ] when those platforms support a feature which their more general parent platform does not.  (ie: Mac generally may not support a given feature, but Sierra might).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1328788</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-07-14 09:11:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/33317289&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1342841</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2017-08-28 09:05:42 -0700</bug_when>
    <thetext>I spoke with Ryan Haddad and Dan Bates about this proposal on 8/25.  It seems that what I&apos;m suggesting would not be an improvement over the current behavior.  Closing this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>