aboutsummaryrefslogtreecommitdiff
path: root/src/templating/test6/Makefile
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-18 13:14:51 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-18 13:30:24 +0100
commit9468d2a769c726c9612f383f785501933f330232 (patch)
tree7a4f0bedd2ed9ee18d56d2391991cf84f52bcbb7 /src/templating/test6/Makefile
parent8a6d67a3178bad3ae0c0d01bed8c36b3a1e9b7b8 (diff)
downloadexchange-9468d2a769c726c9612f383f785501933f330232.tar.gz
exchange-9468d2a769c726c9612f383f785501933f330232.tar.bz2
exchange-9468d2a769c726c9612f383f785501933f330232.zip
-update mustach
Diffstat (limited to 'src/templating/test6/Makefile')
-rw-r--r--src/templating/test6/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/templating/test6/Makefile b/src/templating/test6/Makefile
index 6178902c0..ea4f86e79 100644
--- a/src/templating/test6/Makefile
+++ b/src/templating/test6/Makefile
@@ -5,12 +5,7 @@ test-custom-write: test-custom-write.c ../mustach-json-c.h ../mustach-json-c.c .
$(CC) $(CFLAGS) $(LDFLAGS) -g -o test-custom-write test-custom-write.c ../mustach.c ../mustach-json-c.c ../mustach-wrap.c -ljson-c
test: test-custom-write
- @echo starting test
- @./test-custom-write json -U must -l must -x must > resu.last 2> vg.last
- @sed -i 's:^==[0-9]*== ::' vg.last
- @diff -w resu.ref resu.last && echo "result ok" || echo "ERROR! Result differs"
- @awk '/^ *total heap usage: .* allocs, .* frees,.*/{if($$4-$$6)exit(1)}' vg.last || echo "ERROR! Alloc/Free issue"
- @echo
+ @mustach=./test-custom-write ../dotest.sh json -U must -l must -x must
clean:
rm -f resu.last vg.last test-custom-write