diff options
Diffstat (limited to 'src/mustach/test3/Makefile')
-rw-r--r-- | src/mustach/test3/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mustach/test3/Makefile b/src/mustach/test3/Makefile new file mode 100644 index 00000000..635d8135 --- /dev/null +++ b/src/mustach/test3/Makefile @@ -0,0 +1,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 + |