aboutsummaryrefslogtreecommitdiff
path: root/src/kadmin/passwd/unit-test/Makefile.in
blob: 8ffc57f2cc7ceda6abb57916ddd4296e6fb62cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
check unit-test:: unit-test-@DO_TEST@

unit-test-:
	@echo "+++"
	@echo "+++ WARNING: kpasswd unit tests not run."
	@echo "+++ Either tcl, runtest, or Perl is unavailable."
	@echo "+++"

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

unit-test-body::	
	$(ENV_SETUP) $(RUNTEST) --tool kpasswd KPASSWD=../kpasswd \
		KINIT=$(BUILDTOP)/clients/kinit/kinit \
		KDESTROY=$(BUILDTOP)/clients/kdestroy/kdestroy
    
unit-test-setup::
	$(ENV_SETUP) $(START_SERVERS)

unit-test-cleanup::
	$(ENV_SETUP) $(STOP_SERVERS)
clean::
	$(RM) dbg.log kpasswd.sum kpasswd.log