Bug 245990 - If you have both iPhone and iPad simulators running, run-webkit-tests --ios-simulator can run in the iPad sim
Summary: If you have both iPhone and iPad simulators running, run-webkit-tests --ios-s...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-03 16:05 PDT by Simon Fraser (smfr)
Modified: 2022-10-10 16:06 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2022-10-03 16:05:11 PDT
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 'ios-simulator'
Test configuration: <, x86_64, debug>
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 -> platform/ipad-(5th generation)-simulator-15 -> platform/ipad-(5th generation)-simulator-wk2 -> platform/ipad-(5th generation)-simulator -> platform/ipad-simulator-15-wk2 -> platform/ipad-simulator-15 -> platform/ipad-simulator-wk2 -> platform/ipad-simulator -> platform/ios-simulator-15-wk2 -> platform/ios-simulator-15 -> platform/ios-simulator-wk2 -> platform/ios-simulator -> platform/ipad-(5th generation)-15-wk2 -> platform/ipad-(5th generation)-15 -> platform/ipad-(5th generation)-wk2 -> platform/ipad-(5th generation) -> platform/ipad-15-wk2 -> platform/ipad-15 -> platform/ipad-wk2 -> platform/ipad -> platform/ios-15-wk2 -> platform/ios-15 -> platform/ios-wk2 -> platform/ios -> platform/wk2 -> generic

Baseline search path: platform/ios-simulator-wk2 -> platform/ios-simulator -> platform/ipad -> platform/ios-15 -> platform/ios-wk2 -> platform/ios -> platform/wk2 -> 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 -> platform/iphone-12 pro-simulator-15 -> platform/iphone-12 pro-simulator-wk2 -> platform/iphone-12 pro-simulator -> platform/iphone-simulator-15-wk2 -> platform/iphone-simulator-15 -> platform/iphone-simulator-wk2 -> platform/iphone-simulator -> platform/ios-simulator-15-wk2 -> platform/ios-simulator-15 -> platform/ios-simulator-wk2 -> platform/ios-simulator -> platform/iphone-12 pro-15-wk2 -> platform/iphone-12 pro-15 -> platform/iphone-12 pro-wk2 -> platform/iphone-12 pro -> platform/iphone-15-wk2 -> platform/iphone-15 -> platform/iphone-wk2 -> platform/iphone -> platform/ios-15-wk2 -> platform/ios-15 -> platform/ios-wk2 -> platform/ios -> platform/wk2 -> generic

Baseline search path: platform/ios-simulator-wk2 -> platform/ios-simulator -> platform/ios-15 -> platform/ios-wk2 -> platform/ios -> platform/wk2 -> generic

Running 0 tests for iPhone 12 Pro running iOS 15
...
Comment 1 Simon Fraser (smfr) 2022-10-03 16:06:36 PDT
Note that I had manually launched an "iPhone 12 Pro" and a "iPad (5th Generation)" simulator instance before running run-webkit-tests. I would expect it to choose the correct one.
Comment 2 Radar WebKit Bug Importer 2022-10-10 16:06:18 PDT
<rdar://problem/101002334>