summaryrefslogtreecommitdiff
path: root/src/templating
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-04-01 14:42:14 +0200
committerChristian Grothoff <christian@grothoff.org>2024-04-01 14:42:14 +0200
commite9a2f156f10b06dbc763f6dba0e33afe9c720ed1 (patch)
tree7ba47ee2f57c2910e3c955a69b87f9f0d60b8d4f /src/templating
parent50ab7137c083b3d8ea0157b3824b48172f2b91ce (diff)
downloadexchange-e9a2f156f10b06dbc763f6dba0e33afe9c720ed1.tar.gz
exchange-e9a2f156f10b06dbc763f6dba0e33afe9c720ed1.tar.bz2
exchange-e9a2f156f10b06dbc763f6dba0e33afe9c720ed1.zip
show vg output
Diffstat (limited to 'src/templating')
-rw-r--r--src/templating/.gitignore1
-rwxr-xr-xsrc/templating/dotest.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/templating/.gitignore b/src/templating/.gitignore
index ac9c37f45..9ed2f3ff9 100644
--- a/src/templating/.gitignore
+++ b/src/templating/.gitignore
@@ -1,2 +1,3 @@
test_mustach_jansson
taler-mustach-tool
+mustach
diff --git a/src/templating/dotest.sh b/src/templating/dotest.sh
index 993a1f266..2dcc25f81 100755
--- a/src/templating/dotest.sh
+++ b/src/templating/dotest.sh
@@ -13,6 +13,7 @@ then
strace -f $mustach "$@"
$mustach "$@" > resu.last || exit_fail "ERROR! mustach command failed ($?)!"
else
+ valgrind $mustach "$@"
valgrind $mustach "$@" > resu.last 2> vg.last || exit_fail "ERROR! valgrind + mustach command failed ($?)!"
sed -i 's:^==[0-9]*== ::' vg.last
awk '/^ *total heap usage: .* allocs, .* frees,.*/{if($$4-$$6)exit(1)}' vg.last || exit_fail "ERROR! Alloc/Free issue"