Skip to content

Commit

Permalink
update gtest version in jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
Accelerator1996 committed Nov 11, 2024
1 parent eb71d9f commit 3bc94e2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -557,10 +557,7 @@ configureCommandParameters() {
sed -i "s/JAR =/&@FIXPATH@/" "${makefile}"
cat ${makefile}
pushd ${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}
git clone https://github.com/google/googletest.git
pushd googletest
git checkout release-1.8.1
popd
git clone https://github.com/google/googletest.git -b v1.13.0
addConfigureArg "--with-gtest=" "${BUILD_CONFIG[WORKSPACE_DIR]}/${BUILD_CONFIG[WORKING_DIR]}/${BUILD_CONFIG[OPENJDK_SOURCE_DIR]}/googletest"
popd
elif [[ "${BUILD_CONFIG[BUILD_VARIANT]}" == "${BUILD_VARIANT_DRAGONWELL}" ]] && [[ "${BUILD_CONFIG[OPENJDK_CORE_VERSION]}" == "jdk21" ]]; then
Expand Down

0 comments on commit 3bc94e2

Please sign in to comment.