summaryrefslogtreecommitdiff
path: root/src/mustach/test4/Makefile
blob: 635d813573195f3397e77feeddbf5d909c3658fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.PHONY: test clean

test: ../mustach
	@echo starting test
	@valgrind ../mustach json must > resu.last 2> vg.last
	@sed -i 's:^==[0-9]*== ::' vg.last
	@diff resu.ref resu.last && echo "result ok" || echo "ERROR! Result differs"
	@diff vg.ref vg.last && echo "memory ok" || echo "ERROR! Memory differs"

clean:
	rm -f resu.last vg.last