<?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>257198</bug_id>
          
          <creation_ts>2023-05-23 07:12:27 -0700</creation_ts>
          <short_desc>import-w3c-tests -s doesn&apos;t honor skip expectation</short_desc>
          <delta_ts>2023-08-21 08:26:32 -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>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=259750</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=260349</see_also>
          <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="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Sam Sneddon [:gsnedders]">gsnedders</assigned_to>
          <cc>gsnedders</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1957310</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-05-23 07:12:27 -0700</bug_when>
    <thetext>In LayoutTests/imported/w3c/resources/import-expectations.json we have:

    &quot;web-platform-tests/websockets&quot;: &quot;import&quot;,
    &quot;web-platform-tests/websockets/stream&quot;: &quot;skip&quot;,

However, when I run

    import-w3c-tests web-platform-tests/websockets -l -s ../../Documents/GitHub.nosync --clean-dest-dir

I get everything from the websockets/stream directory anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1958735</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-30 07:13:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/110004053&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969293</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-08-02 10:11:22 -0700</bug_when>
    <thetext>I can&apos;t reproduce this:

```
./Tools/Scripts/import-w3c-tests --clear-dest-dir -t web-platform-tests/websockets
```

Results in:

```
% git status | grep stream
Refresh index: 100% (391489/391489), done.
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969294</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-08-02 10:11:57 -0700</bug_when>
    <thetext>And removing `&quot;web-platform-tests/websockets/stream&quot;: &quot;skip&quot;` does indeed lead it to get imported, so as far as I can tell that is working as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969347</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-08-02 16:22:51 -0700</bug_when>
    <thetext>This still fails to reproduce with `--clear-dest-dir` corrected to `--clean-dest-dir` (bug 259750).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971791</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-08-17 04:11:39 -0700</bug_when>
    <thetext>So, uh, like bug 257674 this only reproduces with `-s`. Well, that&apos;s cursed. I love when the simpler codepath is broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971817</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-08-17 07:15:03 -0700</bug_when>
    <thetext>Currently, the skip logic in import-expectations.json is implemented in test_downloader.py, and thus is applied during the &quot;download&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971826</commentid>
    <comment_count>7</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-08-17 07:53:46 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/16789</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972377</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-08-21 08:26:28 -0700</bug_when>
    <thetext>Committed 267088@main (e21f2280dbbb): &lt;https://commits.webkit.org/267088@main&gt;

Reviewed commits have been landed. Closing PR #16789 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>