Skip to content

Commit

Permalink
Also build jtreg version 7.4+1
Browse files Browse the repository at this point in the history
Signed-off-by: Keith W. Campbell <[email protected]>
  • Loading branch information
keithc-ca committed Jun 20, 2024
1 parent f0af2f2 commit 99ffef3
Showing 1 changed file with 8 additions and 2 deletions.
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_1='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_1" ]; 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_1"
buildJTReg
echo '...finished with build process.'

0 comments on commit 99ffef3

Please sign in to comment.