gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: add missing Makefiles


From: gnunet
Subject: [taler-merchant] branch master updated: add missing Makefiles
Date: Mon, 27 Jul 2020 11:54:54 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

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

commit 9b98370a41674b749dc1e0e81cc40f6b472046d4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jul 27 11:54:52 2020 +0200

    add missing Makefiles
---
 src/mustach/test1/Makefile | 12 ++++++++++++
 src/mustach/test2/Makefile | 12 ++++++++++++
 src/mustach/test3/Makefile | 12 ++++++++++++
 src/mustach/test4/Makefile | 12 ++++++++++++
 src/mustach/test5/Makefile | 12 ++++++++++++
 src/mustach/test6/Makefile | 16 ++++++++++++++++
 6 files changed, 76 insertions(+)

diff --git a/src/mustach/test1/Makefile b/src/mustach/test1/Makefile
new file mode 100644
index 0000000..635d813
--- /dev/null
+++ b/src/mustach/test1/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
+
diff --git a/src/mustach/test2/Makefile b/src/mustach/test2/Makefile
new file mode 100644
index 0000000..635d813
--- /dev/null
+++ b/src/mustach/test2/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
+
diff --git a/src/mustach/test3/Makefile b/src/mustach/test3/Makefile
new file mode 100644
index 0000000..635d813
--- /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
+
diff --git a/src/mustach/test4/Makefile b/src/mustach/test4/Makefile
new file mode 100644
index 0000000..635d813
--- /dev/null
+++ b/src/mustach/test4/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
+
diff --git a/src/mustach/test5/Makefile b/src/mustach/test5/Makefile
new file mode 100644
index 0000000..635d813
--- /dev/null
+++ b/src/mustach/test5/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
+
diff --git a/src/mustach/test6/Makefile b/src/mustach/test6/Makefile
new file mode 100644
index 0000000..35359fd
--- /dev/null
+++ b/src/mustach/test6/Makefile
@@ -0,0 +1,16 @@
+.PHONY: test clean
+
+test-custom-write: test-custom-write.c ../mustach-json-c.h ../mustach-json-c.c 
../mustach.h ../mustach.c
+       @echo building test-custom-write
+       $(CC) $(CFLAGS) -g -o test-custom-write test-custom-write.c  
../mustach.c  ../mustach-json-c.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 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 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]