[29110] in CVS-changelog-for-Kerberos-V5
krb5 commit [krb5-1.14]: Add RUN_TEST make variable
daemon@ATHENA.MIT.EDU (Tom Yu)
Mon Oct 26 15:39:37 2015
Date: Mon, 26 Oct 2015 15:39:33 -0400
From: Tom Yu <tlyu@mit.edu>
Message-Id: <201510261939.t9QJdXMK025233@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/b5b98e1acb3d72f0398a9046d220512936941b5d
commit b5b98e1acb3d72f0398a9046d220512936941b5d
Author: Greg Hudson <ghudson@mit.edu>
Date: Sun Oct 4 11:09:28 2015 -0400
Add RUN_TEST make variable
Add a pre.in variable to simplify running C test programs from
Makefile rules.
(cherry picked from commit 45c6e285be8042ffccdab13b5f78cd5ada8e7973)
ticket: 8266
src/config/pre.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/config/pre.in b/src/config/pre.in
index 401d1c6..b0d9015 100644
--- a/src/config/pre.in
+++ b/src/config/pre.in
@@ -413,6 +413,12 @@ APPUTILS_LIB = -lapputils
RUN_SETUP=@KRB5_RUN_ENV@
RUN_VARS=@KRB5_RUN_VARS@
+# Appropriate command prefix for most C test programs: use libraries
+# from the build tree, avoid referencing the installed krb5.conf and
+# message catalog, and use valgrind when asked.
+RUN_TEST=$(RUN_SETUP) KRB5_CONFIG=$(top_srcdir)/config-files/krb5.conf \
+ LC_ALL=C $(VALGRIND)
+
#
# variables for --with-tcl=
TCL_LIBS = @TCL_LIBS@
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5