Skip to content

Commit

Permalink
[webkitpy] Add Apple 2024 releases
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=275322
rdar://129515047

Reviewed by Sam Sneddon.

* Tools/Scripts/run-javascriptcore-tests:
(computeFullConfiguration): Add Sequoia.
* Tools/Scripts/webkitpy/common/version_name_map.py:
(VersionNameMap.__init__): Add Sequoia, iOS 18, tvOS 18, watchOS 11 and visionOS 2.

Canonical link: https://commits.webkit.org/279888@main
  • Loading branch information
JonWBedard committed Jun 10, 2024
1 parent c599644 commit 7748b63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Tools/Scripts/run-javascriptcore-tests
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,9 @@ sub computeFullConfiguration()
}

if (!$versionName) {
if ($version->{major} eq 14) {
if ($version->{major} eq 15) {
$versionName = "Sequoia";
} elsif ($version->{major} eq 14) {
$versionName = "Sonoma";
} elsif ($version->{major} eq 13) {
$versionName = "Ventura";
Expand Down
9 changes: 5 additions & 4 deletions Tools/Scripts/webkitpy/common/version_name_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@ def __init__(self, platform=None):
'Monterey': Version(12, 0),
'Ventura': Version(13, 0),
'Sonoma': Version(14, 0),
'Sequoia': Version(15, 0),
},
'ios': self._automap_to_major_version('iOS', minimum=Version(10), maximum=Version(17)),
'tvos': self._automap_to_major_version('tvOS', minimum=Version(10), maximum=Version(17)),
'watchos': self._automap_to_major_version('watchOS', minimum=Version(1), maximum=Version(10)),
'visionos': self._automap_to_major_version('visionOS', minimum=Version(1), maximum=Version(1)),
'ios': self._automap_to_major_version('iOS', minimum=Version(10), maximum=Version(18)),
'tvos': self._automap_to_major_version('tvOS', minimum=Version(10), maximum=Version(18)),
'watchos': self._automap_to_major_version('watchOS', minimum=Version(1), maximum=Version(11)),
'visionos': self._automap_to_major_version('visionOS', minimum=Version(1), maximum=Version(2)),
'win': {
'Win10': Version(10),
'8.1': Version(6, 3),
Expand Down

0 comments on commit 7748b63

Please sign in to comment.