svn rev #23770: trunk/src/config/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Mar 5 15:32:40 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23770
Commit By: ghudson
Log Message:
In post.in, add a check-pytests intermediate target for Makefile.in to
add dependencies to, for test scripts which run C test programs.



Changed Files:
U   trunk/src/config/post.in
Modified: trunk/src/config/post.in
===================================================================
--- trunk/src/config/post.in	2010-03-05 20:31:13 UTC (rev 23769)
+++ trunk/src/config/post.in	2010-03-05 20:32:40 UTC (rev 23770)
@@ -129,9 +129,14 @@
 ##############################
 
 # Python tests
-check-unix:: check-python-tests- at 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- at HAVE_PYTHON@
+
+check-pytests-yes:
 	@pytests="$(PYTESTS)"; \
 	for t in $$pytests; do \
 		echo PYTHONPATH=$(top_srcdir)/util VALGRIND="$(VALGRIND)" \
@@ -140,7 +145,7 @@
 			$(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




More information about the cvs-krb5 mailing list