gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -add Makefiles


From: gnunet
Subject: [taler-exchange] branch master updated: -add Makefiles
Date: Fri, 21 Jul 2023 14:39:24 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new e21995f0 -add Makefiles
e21995f0 is described below

commit e21995f0009b4143e19f3a618bf8107c9bc94a50
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jul 21 14:39:18 2023 +0200

    -add Makefiles
---
 src/templating/test1/Makefile | 13 +++++++++++++
 src/templating/test2/Makefile | 13 +++++++++++++
 src/templating/test3/Makefile | 13 +++++++++++++
 src/templating/test4/Makefile | 13 +++++++++++++
 src/templating/test5/Makefile | 13 +++++++++++++
 src/templating/test6/Makefile | 17 +++++++++++++++++
 6 files changed, 82 insertions(+)

diff --git a/src/templating/test1/Makefile b/src/templating/test1/Makefile
new file mode 100644
index 00000000..5f3997c5
--- /dev/null
+++ b/src/templating/test1/Makefile
@@ -0,0 +1,13 @@
+.PHONY: test clean
+
+test:
+       @echo starting test
+       @valgrind ../mustach json 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
+
+clean:
+       rm -f resu.last vg.last
+
diff --git a/src/templating/test2/Makefile b/src/templating/test2/Makefile
new file mode 100644
index 00000000..5f3997c5
--- /dev/null
+++ b/src/templating/test2/Makefile
@@ -0,0 +1,13 @@
+.PHONY: test clean
+
+test:
+       @echo starting test
+       @valgrind ../mustach json 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
+
+clean:
+       rm -f resu.last vg.last
+
diff --git a/src/templating/test3/Makefile b/src/templating/test3/Makefile
new file mode 100644
index 00000000..5f3997c5
--- /dev/null
+++ b/src/templating/test3/Makefile
@@ -0,0 +1,13 @@
+.PHONY: test clean
+
+test:
+       @echo starting test
+       @valgrind ../mustach json 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
+
+clean:
+       rm -f resu.last vg.last
+
diff --git a/src/templating/test4/Makefile b/src/templating/test4/Makefile
new file mode 100644
index 00000000..5f3997c5
--- /dev/null
+++ b/src/templating/test4/Makefile
@@ -0,0 +1,13 @@
+.PHONY: test clean
+
+test:
+       @echo starting test
+       @valgrind ../mustach json 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
+
+clean:
+       rm -f resu.last vg.last
+
diff --git a/src/templating/test5/Makefile b/src/templating/test5/Makefile
new file mode 100644
index 00000000..5f3997c5
--- /dev/null
+++ b/src/templating/test5/Makefile
@@ -0,0 +1,13 @@
+.PHONY: test clean
+
+test:
+       @echo starting test
+       @valgrind ../mustach json 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
+
+clean:
+       rm -f resu.last vg.last
+
diff --git a/src/templating/test6/Makefile b/src/templating/test6/Makefile
new file mode 100644
index 00000000..5fcf5c59
--- /dev/null
+++ b/src/templating/test6/Makefile
@@ -0,0 +1,17 @@
+.PHONY: test clean
+
+test-custom-write: test-custom-write.c ../mustach-json-c.h ../mustach-json-c.c 
../mustach-wrap.c ../mustach.h ../mustach.c
+       @echo building test-custom-write
+       $(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
+       @valgrind ./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
+
+clean:
+       rm -f resu.last vg.last test-custom-write
+

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]