From: Greg Hudson Date: Fri, 5 Mar 2010 20:32:40 +0000 (+0000) Subject: In post.in, add a check-pytests intermediate target for Makefile.in to X-Git-Tag: krb5-1.9-beta1~320 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=769235885a84de555d7217f1b0a58dcd394e5ac7;p=krb5.git In post.in, add a check-pytests intermediate target for Makefile.in to add dependencies to, for test scripts which run C test programs. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23770 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/post.in b/src/config/post.in index e61561a2b..47ef248f8 100644 --- a/src/config/post.in +++ b/src/config/post.in @@ -129,9 +129,14 @@ undepend-postrecurse: undepend-recurse ############################## # Python tests -check-unix:: check-python-tests-@HAVE_PYTHON@ +check-unix:: check-pytests -check-python-tests-yes: +# Makefile.in should add dependencies to check-pytests for test +# programs that need to be built before scripts are run. + +check-pytests:: check-pytests-@HAVE_PYTHON@ + +check-pytests-yes: @pytests="$(PYTESTS)"; \ for t in $$pytests; do \ echo PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \ @@ -140,7 +145,7 @@ check-python-tests-yes: $(PYTHON) $(srcdir)/$$t $(PYTESTFLAGS) || exit 1; \ done -check-python-tests-no: +check-pytests-no: @if test -n "$(PYTESTS)"; then \ echo "+++ Skipping because Python not available: $(PYTESTS)"; \ fi