< prev index next >
make/autoconf/jdk-options.m4
Print this page
*** 402,414 ****
--- 402,417 ----
AC_ARG_WITH(jcov, [AS_HELP_STRING([--with-jcov],
[jcov library location])])
AC_ARG_WITH(jcov-input-jdk, [AS_HELP_STRING([--with-jcov-input-jdk],
[jdk image to instrument])])
+ AC_ARG_WITH(jcov-filters, [AS_HELP_STRING([--with-jcov-filters],
+ [filters to limit code for jcov instrumentation and report generation])])
JCOV_HOME=
JCOV_INPUT_JDK=
JCOV_ENABLED=
+ JCOV_FILTERS=
if test "x$with_jcov" = "x" ; then
JCOV_ENABLED="false"
else
JCOV_HOME="$with_jcov"
if test ! -f "$JCOV_HOME/lib/jcov.jar"; then
*** 423,436 ****
--- 426,443 ----
AC_MSG_RESULT([fail])
AC_MSG_ERROR([Invalid JDK bundle: "$JCOV_INPUT_JDK/bin/java$EXE_SUFFIX" does not exist])
fi
BASIC_FIXUP_PATH(JCOV_INPUT_JDK)
fi
+ if test "x$with_jcov_filters" != "x" ; then
+ JCOV_FILTERS="$with_jcov_filters"
+ fi
fi
AC_SUBST(JCOV_ENABLED)
AC_SUBST(JCOV_HOME)
AC_SUBST(JCOV_INPUT_JDK)
+ AC_SUBST(JCOV_FILTERS)
])
###############################################################################
#
# AddressSanitizer
< prev index next >