diff options
author | Greg Hudson <ghudson@mit.edu> | 2010-03-05 20:32:40 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2010-03-05 20:32:40 +0000 |
commit | 769235885a84de555d7217f1b0a58dcd394e5ac7 (patch) | |
tree | 238a5170541e73c36cf77b5dd6a91608786510b3 /src/config | |
parent | d43035619574b40abe4c2660fc7f326447a6bd7b (diff) | |
download | krb5-769235885a84de555d7217f1b0a58dcd394e5ac7.tar.gz krb5-769235885a84de555d7217f1b0a58dcd394e5ac7.tar.xz krb5-769235885a84de555d7217f1b0a58dcd394e5ac7.zip |
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
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/post.in | 11 |
1 files changed, 8 insertions, 3 deletions
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 |