<?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>245990</bug_id>
          
          <creation_ts>2022-10-03 16:05:11 -0700</creation_ts>
          <short_desc>If you have both iPhone and iPad simulators running, run-webkit-tests --ios-simulator can run in the iPad sim</short_desc>
          <delta_ts>2022-10-10 16:06:18 -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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jbedard</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1902969</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-10-03 16:05:11 -0700</bug_when>
    <thetext>It seems wrong that it chooses to run the tests in the iPad simulator, not the iPhone simulator if both are running:


OpenSource % run-webkit-tests --ios-simulator compositing/overflow/scrolling-content-clip-to-viewport.html
Using port &apos;ios-simulator&apos;
Test configuration: &lt;, x86_64, debug&gt;
Placing test results in /Volumes/Data/Development/system/webkit/OpenSource/WebKitBuild/Debug-iphonesimulator/layout-test-results
Using Debug build
Pixel tests disabled
Regular timeout: 30000, slow test timeout: 150000
Command line: /Volumes/Data/Development/system/webkit/OpenSource/WebKitBuild/Debug-iphonesimulator/WebKitTestRunnerApp.app -

Found 5 tests; running 5, skipping 0.
                  
Verbose baseline search path: platform/ipad-(5th generation)-simulator-15-wk2 -&gt; platform/ipad-(5th generation)-simulator-15 -&gt; platform/ipad-(5th generation)-simulator-wk2 -&gt; platform/ipad-(5th generation)-simulator -&gt; platform/ipad-simulator-15-wk2 -&gt; platform/ipad-simulator-15 -&gt; platform/ipad-simulator-wk2 -&gt; platform/ipad-simulator -&gt; platform/ios-simulator-15-wk2 -&gt; platform/ios-simulator-15 -&gt; platform/ios-simulator-wk2 -&gt; platform/ios-simulator -&gt; platform/ipad-(5th generation)-15-wk2 -&gt; platform/ipad-(5th generation)-15 -&gt; platform/ipad-(5th generation)-wk2 -&gt; platform/ipad-(5th generation) -&gt; platform/ipad-15-wk2 -&gt; platform/ipad-15 -&gt; platform/ipad-wk2 -&gt; platform/ipad -&gt; platform/ios-15-wk2 -&gt; platform/ios-15 -&gt; platform/ios-wk2 -&gt; platform/ios -&gt; platform/wk2 -&gt; generic

Baseline search path: platform/ios-simulator-wk2 -&gt; platform/ios-simulator -&gt; platform/ipad -&gt; platform/ios-15 -&gt; platform/ios-wk2 -&gt; platform/ios -&gt; platform/wk2 -&gt; generic

Running 5 tests for iPad (5th generation) running iOS 15

Running 1 WebKitTestRunnerApp.app.
...

Verbose baseline search path: platform/iphone-12 pro-simulator-15-wk2 -&gt; platform/iphone-12 pro-simulator-15 -&gt; platform/iphone-12 pro-simulator-wk2 -&gt; platform/iphone-12 pro-simulator -&gt; platform/iphone-simulator-15-wk2 -&gt; platform/iphone-simulator-15 -&gt; platform/iphone-simulator-wk2 -&gt; platform/iphone-simulator -&gt; platform/ios-simulator-15-wk2 -&gt; platform/ios-simulator-15 -&gt; platform/ios-simulator-wk2 -&gt; platform/ios-simulator -&gt; platform/iphone-12 pro-15-wk2 -&gt; platform/iphone-12 pro-15 -&gt; platform/iphone-12 pro-wk2 -&gt; platform/iphone-12 pro -&gt; platform/iphone-15-wk2 -&gt; platform/iphone-15 -&gt; platform/iphone-wk2 -&gt; platform/iphone -&gt; platform/ios-15-wk2 -&gt; platform/ios-15 -&gt; platform/ios-wk2 -&gt; platform/ios -&gt; platform/wk2 -&gt; generic

Baseline search path: platform/ios-simulator-wk2 -&gt; platform/ios-simulator -&gt; platform/ios-15 -&gt; platform/ios-wk2 -&gt; platform/ios -&gt; platform/wk2 -&gt; generic

Running 0 tests for iPhone 12 Pro running iOS 15
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902970</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-10-03 16:06:36 -0700</bug_when>
    <thetext>Note that I had manually launched an &quot;iPhone 12 Pro&quot; and a &quot;iPad (5th Generation)&quot; simulator instance before running run-webkit-tests. I would expect it to choose the correct one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904662</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-10-10 16:06:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/101002334&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>