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

unit-test-:
	@echo "The kpasswd tests require Perl, Tcl, and runtest"
	@echo "No tests run here"

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