Skip to content

Commit

Permalink
exclude JDK23+ and jdknext openj9 xmac testing on mac10
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <Lan_Xia@ca.ibm.com>
  • Loading branch information
llxia committed Oct 15, 2024
1 parent b8c40b4 commit 579188d
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.equalsIgnoreCase("next") || params.JDK_VERSION.toInteger() >= 23) {
LABEL += "&&!sw.os.mac.10"
}
}

if (params.DOCKER_REQUIRED) {
Expand Down

0 comments on commit 579188d

Please sign in to comment.