Skip to content

Conversation

@JonWBedard
Copy link
Member

@JonWBedard JonWBedard commented May 15, 2023

4518454

Use the same simulated iPhone model for layout tests an API tests
https://bugs.webkit.org/show_bug.cgi?id=239885
rdar://92505373

Rubber-stamped by Aakash Jain.

run-api-tests should use the same default device model that layout tests.

* Tools/Scripts/webkitpy/api_tests/manager.py:
(Manager._initialize_devices): Use the default device model as specified in the port
class. Add a temporary override for iOS until https://bugs.webkit.org/show_bug.cgi?id=256806
is resolved.

Canonical link: https://commits.webkit.org/264115@main

783883a

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 wincairo
🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2
✅ 🧪 webkitperl 🧪 ios-wk2 🧪 api-mac ✅ 🛠 gtk
🧪 webkitpy 🧪 ios-wk2-wpt 🧪 mac-wk1 🧪 gtk-wk2
🧪 api-ios 🧪 mac-wk2 🧪 api-gtk
✅ 🛠 tv 🧪 mac-AS-debug-wk2
🛠 tv-sim
🛠 watch
✅ 🛠 🧪 unsafe-merge ✅ 🛠 watch-sim

@JonWBedard JonWBedard self-assigned this May 15, 2023
@JonWBedard JonWBedard added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label May 15, 2023
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any cases where this differs to .endswith('-simulator')?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at the moment, but I think in more accurately reflects the sentiment here. If someone were to do something like ios-simulator-legacy (which would seem a perfectly reasonable port name), ends with('-simulator') here would break that class name.

Copy link
Member

@aj062 aj062 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rs=me

@JonWBedard JonWBedard force-pushed the eng/Use-the-same-simulated-iPhone-model-for-layout-tests-an-API-tests branch from 2193d1a to 783883a Compare May 16, 2023 14:39
@JonWBedard JonWBedard added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 16, 2023
https://bugs.webkit.org/show_bug.cgi?id=239885
rdar://92505373

Rubber-stamped by Aakash Jain.

run-api-tests should use the same default device model that layout tests.

* Tools/Scripts/webkitpy/api_tests/manager.py:
(Manager._initialize_devices): Use the default device model as specified in the port
class. Add a temporary override for iOS until https://bugs.webkit.org/show_bug.cgi?id=256806
is resolved.

Canonical link: https://commits.webkit.org/264115@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Use-the-same-simulated-iPhone-model-for-layout-tests-an-API-tests branch from 783883a to 4518454 Compare May 16, 2023 14:43
@webkit-commit-queue
Copy link
Collaborator

Committed 264115@main (4518454): https://commits.webkit.org/264115@main

Reviewed commits have been landed. Closing PR #13897 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 4518454 into WebKit:main May 16, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label May 16, 2023
@JonWBedard JonWBedard deleted the eng/Use-the-same-simulated-iPhone-model-for-layout-tests-an-API-tests branch May 16, 2023 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants