diff --git a/sbin/build.sh b/sbin/build.sh index c8d97a93c..7ce2f967b 100755 --- a/sbin/build.sh +++ b/sbin/build.sh @@ -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