8292763: JDK-8292716 breaks configure without jtreg

Reviewed-by: alanb
This commit is contained in:
Magnus Ihse Bursie 2022-08-23 08:32:02 +00:00
parent 486f90c134
commit d92e00a519

View File

@ -218,7 +218,7 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JTREG],
AC_SUBST(JT_HOME)
# Verify jtreg version
if test "x$JT_HOME" != x; then
AC_MSG_CHECKING([jtreg version number])
# jtreg -version looks like this: "jtreg 6.1+1-19"
# Extract actual version part ("6.1" in this case)
@ -232,6 +232,7 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JTREG],
if test $comparable_actual_version -lt $comparable_minimum_version ; then
AC_MSG_ERROR([jtreg version is too old, at least version $JTREG_MINIMUM_VERSION is required])
fi
fi
])
# Setup the JIB dependency resolver