Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use jtreg6.1 for JDK11/17 on z/OS #645

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/getDependencies.pl
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@
shafn => 'jtreg_7_3_1_1.tar.gz.sha256sum.txt',
shaalg => '256'
},
jtreg_6_1 => {
url => 'https://ci.adoptium.net/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/jtreg-6+1.tar.gz',
fname => 'jtreg_6_1.tar.gz',
shaurl => 'https://ci.adoptium.net/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/jtreg-6+1.tar.gz.sha256sum.txt',
shafn => 'jtreg_6_1.tar.gz.sha256sum.txt',
shaalg => '256'
},
jtreg_7_4_1 => {
url => 'https://ci.adoptium.net/job/dependency_pipeline/lastSuccessfulBuild/artifact/jtreg/jtreg-7.4+1.tar.gz',
fname => 'jtreg_7_4_1.tar.gz',
Expand Down
17 changes: 17 additions & 0 deletions scripts/getDependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,28 @@
<!-- set default LIB property to all -->
<property name="LIB" value="all"/>
<target name="getJtregVersion">
<condition property="jtregOnZ">
<and>
<contains string="${SPEC}" substring="zos"/>
<matches pattern="^(11|17)$" string="${JDK_VERSION}"/>
</and>
</condition>
<if>
<!-- versions 8-10, 12-16 -->
<matches pattern="^([89]|1[02-6])$" string="${JDK_VERSION}"/>
<then>
<property name="jtregTar" value="jtreg_5_1_b01"/>
</then>
<elseif>
<!--
# versions 11,17 on z/OS need to use jtreg6.1, due to encoding issues with jtreg7.*.
# For more details, refer openj9-openjdk-jdk17-zos/issues/928.
-->
<isset property="jtregOnZ"/>
<then>
<property name="jtregTar" value="jtreg_6_1"/>
</then>
</elseif>
<elseif>
<!-- versions 11, 17-23 -->
<matches pattern="^(11|1[7-9]|2[0-3])$" string="${JDK_VERSION}"/>
Expand All @@ -39,6 +55,7 @@
<property name="jtregTar" value="jtreg_7_4_1"/>
</else>
</if>
<echo message="jtreg version used is : ${jtregTar}"/>

<if>
<or>
Expand Down
Loading