<?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>172471</bug_id>
          
          <creation_ts>2017-05-22 13:57:02 -0700</creation_ts>
          <short_desc>WPT resync should update moved and deleted tests in TestExpectations</short_desc>
          <delta_ts>2023-10-23 10:02:40 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=189241</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=186359</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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>cturner</cc>
    
    <cc>fred.wang</cc>
    
    <cc>gsnedders</cc>
    
    <cc>lforschler</cc>
    
    <cc>ntim</cc>
    
    <cc>rniwa</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1311553</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-05-22 13:57:02 -0700</bug_when>
    <thetext>There is a number of orphaned entries in TestExpectations after the recent re-sync in r217225.

The import process should make sure that expectations don&apos;t get broken.

--lint-test-files warnings:
LayoutTests/TestExpectations:752 Path does not exist. imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.html
LayoutTests/TestExpectations:801 Path does not exist. imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/test_ecdsa.html
LayoutTests/TestExpectations:1021 Path does not exist. imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/test_pbkdf2.html
LayoutTests/TestExpectations:1024 Path does not exist. imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes_RSA-OAEP.html
LayoutTests/TestExpectations:1026 Path does not exist. imported/w3c/web-platform-tests/WebCryptoAPI/import_export/test_rsa_importKey.html
LayoutTests/TestExpectations:1032 Path does not exist. imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_failures.html
LayoutTests/TestExpectations:1033 Path does not exist. imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/test_successes.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1311555</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2017-05-22 14:00:28 -0700</bug_when>
    <thetext>Thanks for filing this issue, I&apos;ll check that for next resync manually.
Maybe the script could help although the current TestExpectations format is not very adequate for scripts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1311583</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-05-22 14:44:25 -0700</bug_when>
    <thetext>The script could prompt to fix these manually if the lint output changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969646</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-04 06:53:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/113394741&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1969666</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-08-04 09:04:26 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #2)
&gt; The script could prompt to fix these manually if the lint output changes.

check-webkit-style usually prompts me when I leave orphaned paths, but maybe it ignores the files that haven&apos;t been edited.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1986838</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-23 09:58:17 -0700</bug_when>
    <thetext>Renames are a challenge, because it&apos;s rather hard to determine what is _actually_ a rename. For example we have nearly 4000 files whose content is:

    &lt;!-- This file is required for WebKit test infrastructure to run the templated test --&gt;

If we end up deleting one such file and adding a new one, that almost certainly isn&apos;t actually a rename.

We can certainly do better than &quot;nothing&quot;, but we will likely have to live with false-positives (because two tests can differ in terms of what support files get loaded).

What we can definitely do correctly is remove lines where the test is deleted.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>