aboutsummaryrefslogtreecommitdiff
path: root/src/kadmin/v4server/unit-test/Makefile.in
blob: 1e56d8d12572ae02702c5d09320aaf5795f3ad00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
thisconfigdir=./../..
myfulldir=kadmin/v4server/unit-test
mydir=v4server/unit-test
BUILDTOP=$(REL)../../..
#
# $Id$
#

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