Skip to content

Commit

Permalink
exclude JDK23+ and jdknext openj9 xmac testing on mac10 (adoptium#5688)
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia committed Oct 17, 2024
1 parent 17d24b4 commit 404085d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions buildenv/jenkins/openjdk_tests
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,11 @@ timestamps{
}

// JDK23+ isn't supported on machines prior to Mac 11 https://github.com/eclipse-openj9/openj9/issues/19694
if (params.JDK_IMPL == "openj9" && PLATFORM == "x86-64_mac" && params.JDK_VERSION && params.JDK_VERSION.toInteger() >= 23) {
LABEL += "&&!sw.os.mac.10"
// assume if JDK_VERSION is set to next, JDK_VERSION is 23+
if (params.JDK_IMPL == "openj9" && PLATFORM == "x86-64_mac" && params.JDK_VERSION) {
if (!params.JDK_VERSION.isInteger() || params.JDK_VERSION.toInteger() >= 23) {
LABEL += "&&!sw.os.mac.10"
}
}

if (params.DOCKER_REQUIRED) {
Expand Down

0 comments on commit 404085d

Please sign in to comment.