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

Also build jtreg version 7.4+1 #1051

Merged
merged 1 commit into from
Jun 21, 2024
Merged
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
10 changes: 8 additions & 2 deletions tools/code-tools/jtreg.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

###################################################################
# Script to build jtreg test suite harness #
# currently builds tip, 5.1, 6, 6.1, 7, 7.1.1, 7.2, 7.3, 7.3.1 #
# Script to build jtreg test suite harness
# currently builds tip, 5.1, 6, 6.1, 7, 7.1.1, 7.2, 7.3, 7.3.1, 7.4
###################################################################

# shellcheck disable=SC2035,SC2116
Expand All @@ -17,6 +17,7 @@ readonly JTREG_7_1='jtreg-7.1.1+1'
readonly JTREG_7_2='jtreg-7.2+1'
readonly JTREG_7_3='jtreg-7.3+1'
readonly JTREG_7_3_1='jtreg-7.3.1+1'
readonly JTREG_7_4='jtreg-7.4+1'

function checkJdks() {
jvm_dir="/usr/lib/jvm/"
Expand Down Expand Up @@ -84,6 +85,10 @@ buildJTReg()
export JTREG_BUILD_NUMBER="1"
export BUILD_VERSION="7.3.1"
export JAVA_HOME=/usr/lib/jvm/jdk-11
elif [ "$1" == "$JTREG_7_4" ]; then
export JTREG_BUILD_NUMBER="1"
export BUILD_VERSION="7.4"
export JAVA_HOME=/usr/lib/jvm/jdk-11
fi
git checkout $version
else
Expand Down Expand Up @@ -162,5 +167,6 @@ buildJTReg "$JTREG_7_1"
buildJTReg "$JTREG_7_2"
buildJTReg "$JTREG_7_3"
buildJTReg "$JTREG_7_3_1"
buildJTReg "$JTREG_7_4"
buildJTReg
echo '...finished with build process.'