thisconfigdir=./../..
myfulldir=kadmin/v4server/unit-test
mydir=v4server/unit-test
BUILDTOP=$(REL)$(U)$(S)$(U)$(S)$(U)
#
# $Id: Makefile.in,v 1.9 1999/09/01 19:55:44 raeburn Exp $
#

check:: check-@DO_V4_TEST@

# When the tests get updated, nuke this and delete "-not" from the next two.
check- check-ok::
	@echo "+++"
	@echo "+++ WARNING: kadmin/v4server unit tests out of date; not run."
	@echo "+++"

check--not::
	@echo "+++"
	@echo "+++ WARNING: kadmin/v4server unit tests not run."
	@echo "+++ Either Athena compatibility, tcl, runtest, or Perl is unavailable."
	@echo "+++"

check-ok-not unit-test:: unit-test-setup unit-test-body unit-test-cleanup

unit-test-setup::
	$(ENV_SETUP) $(START_SERVERS_LOCAL) -v4files -kdcport 750 -keysalt des-cbc-crc:v4

unit-test-body::
	$(ENV_SETUP) $(RUNTEST) VFOURSERVER=../kadmind4 --tool v4server

unit-test-cleanup::
	$(ENV_SETUP) $(STOP_SERVERS_LOCAL) -v4files
