Mercurial > hg > icedtea6-hg
changeset 3236:4a5a94474cd4
PR2952: test/tapset/jstaptest.pl requires Perl
2016-01-29 Andrew John Hughes <gnu.andrew@member.fsf.org>
PR2952: test/tapset/jstaptest.pl requires Perl
* Makefile.am:
(check-tapset-probes): Check that Perl is available
and, if so, use it to invoke the script.
(check-tapset-jstack): Likewise.
* NEWS: Updated.
* configure.ac:
Check for Perl if SystemTap is found, so the
tests can be run if required.
author | Andrew John Hughes <gnu.andrew@redhat.com> |
---|---|
date | Wed, 04 May 2016 02:27:14 +0100 |
parents | 2c71794fd056 |
children | 36da5cdbf349 |
files | ChangeLog Makefile.am NEWS configure.ac test/tapset/jstaptest.pl |
diffstat | 4 files changed, 29 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue May 03 23:29:05 2016 +0100 +++ b/ChangeLog Wed May 04 02:27:14 2016 +0100 @@ -1,3 +1,15 @@ +2016-01-29 Andrew John Hughes <gnu.andrew@member.fsf.org> + + PR2952: test/tapset/jstaptest.pl requires Perl + * Makefile.am: + (check-tapset-probes): Check that Perl is available + and, if so, use it to invoke the script. + (check-tapset-jstack): Likewise. + * NEWS: Updated. + * configure.ac: + Check for Perl if SystemTap is found, so the + tests can be run if required. + 2016-05-03 Andrew John Hughes <gnu.andrew@member.fsf.org> * Makefile.am:
--- a/Makefile.am Tue May 03 23:29:05 2016 +0100 +++ b/Makefile.am Wed May 04 02:27:14 2016 +0100 @@ -2828,14 +2828,20 @@ check-tapset-probes: if ENABLE_SYSTEMTAP - $(abs_top_srcdir)/test/tapset/jstaptest.pl \ + if test "x${PERL}" = "x"; then \ + echo "ERROR: Perl not found"; exit -1; \ + fi + ${PERL} $(abs_top_srcdir)/test/tapset/jstaptest.pl \ -B $(BUILD_OUTPUT_DIR) -A $(BUILD_ARCH_DIR) \ -S $(abs_top_srcdir)/test/tapset \ -a test/check-stap.log -p endif check-tapset-jstack: if ENABLE_SYSTEMTAP - $(abs_top_srcdir)/test/tapset/jstaptest.pl \ + if test "x${PERL}" = "x"; then \ + echo "ERROR: Perl not found"; exit -1; \ + fi + ${PERL} $(abs_top_srcdir)/test/tapset/jstaptest.pl \ -B $(BUILD_OUTPUT_DIR) -A $(BUILD_ARCH_DIR) \ -S $(abs_top_srcdir)/test/tapset \ -a test/check-stap.log -j
--- a/NEWS Tue May 03 23:29:05 2016 +0100 +++ b/NEWS Wed May 04 02:27:14 2016 +0100 @@ -31,6 +31,7 @@ - PR2083: Add support for building Zero on AArch64 - PR2849: wget not required when downloading is disabled - PR2890: OpenJDK should check for system cacerts database (e.g. /etc/pki/java/cacerts) + - PR2952: test/tapset/jstaptest.pl requires Perl New in release 1.13.10 (2016-01-22):
--- a/configure.ac Tue May 03 23:29:05 2016 +0100 +++ b/configure.ac Wed May 04 02:27:14 2016 +0100 @@ -436,6 +436,14 @@ ]])], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([systemtap sdt.h or g++ too old])]) AC_LANG_POP([C++]) + if test "x${SDT_H_FOUND}" = "xyes"; then + AC_PATH_TOOL([PERL],[perl]) + if test x"${PERL}" = x ; then + AC_MSG_WARN([Perl not found in PATH; SystemTap tests will not be able to run]) + fi + AC_SUBST(PERL) + fi + ABS_CLIENT_LIBJVM_SO="${ABS_JAVA_HOME_DIR}/jre/lib/${INSTALL_ARCH_DIR}/client/libjvm.so" ABS_SERVER_LIBJVM_SO="${ABS_JAVA_HOME_DIR}/jre/lib/${INSTALL_ARCH_DIR}/server/libjvm.so" AC_SUBST(ABS_CLIENT_LIBJVM_SO)