<?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>270757</bug_id>
          
          <creation_ts>2024-03-09 16:21:31 -0800</creation_ts>
          <short_desc>Do not run the references when a test crashes or times out</short_desc>
          <delta_ts>2024-04-25 17:13:04 -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>DUPLICATE</resolution>
          <dup_id>273212</dup_id>
          
          <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="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>gsnedders</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2019878</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-03-09 16:21:31 -0800</bug_when>
    <thetext>Hi Team,

While going through Blink&apos;s commit, I came across this optimization for test suite but don&apos;t know whether we have done similar in one way or shape but just wanted to raise to get input.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/a7ba83f0e6c7c9c1ebcab9ea4f53e899b26c397e

WebKit Source: https://searchfox.org/wubkat/rev/93c3eb8ac99a6b6e3894deaf14e5d38304898b48/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py#354

and

https://searchfox.org/wubkat/rev/93c3eb8ac99a6b6e3894deaf14e5d38304898b48/Tools/Scripts/webkitpy/layout_tests/controllers/single_test_runner.py#378

__

Blink Commit Details:

If the actual test in a reftest crashes or times out, we probably shouldn&apos;t
bother executing the reference as well, since we have nothing
to compare it to, and the test failed regardless. This can save
a bunch of execution time and avoid some confusion.

__

Just raising to get input.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2021616</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-16 17:22:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/124790780&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028838</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-04-16 09:37:41 -0700</bug_when>
    <thetext>This doesn&apos;t seem like a bad idea, although in practice, it seems unlikely to save us much time because we tend to not leave CRASH and TIMEOUT tests running, because such expectations are of very low value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031376</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-04-25 17:13:04 -0700</bug_when>
    <thetext>I&apos;m resolving this as a duplicate of https://bugs.webkit.org/show_bug.cgi?id=273212.

The rationale in that bug is quite different than in this one, but since crashes and timeouts also don&apos;t have test output, https://bugs.webkit.org/show_bug.cgi?id=273212 will end up with the same effect as the one requested here.

*** This bug has been marked as a duplicate of bug 273212 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>