[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: build: fix 'installcheck' targe

From: Mathieu Lirzin
Subject: [automake-commit] branch master updated: build: fix 'installcheck' target
Date: Mon, 10 Feb 2020 04:11:15 -0500

This is an automated email from the git hooks/post-receive script.

mthl pushed a commit to branch master
in repository automake.

View the commit online:;a=commitdiff;h=f19ecc089b017d0f0cde1e960fb1a6a407005164

The following commit(s) were added to refs/heads/master by this push:
     new f19ecc0  build: fix 'installcheck' target
f19ecc0 is described below

commit f19ecc089b017d0f0cde1e960fb1a6a407005164
Author: Mathieu Lirzin <address@hidden>
AuthorDate: Tue Feb 4 15:28:00 2020 +0100

    build: fix 'installcheck' target
    * t/ (installcheck-testsuite): Do not use 'pre-inst-env' script.
    (AM_TESTS_ENVIRONMENT): Ensure that installed perl modules are found.
 t/ | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/t/ b/t/
index 7e3a619..bd1615e 100644
--- a/t/
+++ b/t/
@@ -244,12 +244,22 @@ check-parallel:
 test_subdirs = %D% %D%/pm contrib/%D%
 include %D%/
-# Run the testsuite with the installed aclocal and automake.
+# Run the testsuite with the installed aclocal and automake without using
+# the 'pre-inst-env' wrapper script.
 installcheck-local: installcheck-testsuite
        $(AM_V_GEN)$(MAKE) $(AM_MAKEFLAGS) check \
+         PL_LOG_COMPILER=$(PERL) \
+# Ensure that the installed Automake perl modules are found when running 
'installcheck' target
+  if test "$${am_running_installcheck}" = yes; then \
+  fi; \
+  export PERL5LIB;
 # Performance tests.
 .PHONY: perf
 perf: all

reply via email to

[Prev in Thread] Current Thread [Next in Thread]