commit 7f548562755675bfef54dab9b897bc71dc364ad2
parent 1aae953d8c73291e87f833f4d8b213820f241c98
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 27 Jul 2020 19:56:55 +0530
remove valgrind tests, as they fail on some platforms
Diffstat:
12 files changed, 6 insertions(+), 97 deletions(-)
diff --git a/src/mustach/test1/Makefile b/src/mustach/test1/Makefile
@@ -5,8 +5,7 @@ test: ../mustach
@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
+ rm -f resu.last
diff --git a/src/mustach/test1/vg.ref b/src/mustach/test1/vg.ref
@@ -1,14 +0,0 @@
-Memcheck, a memory error detector
-Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
-Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
-Command: ../mustach json must
-
-
-HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 169 allocs, 169 frees, 24,725 bytes allocated
-
-All heap blocks were freed -- no leaks are possible
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/src/mustach/test2/Makefile b/src/mustach/test2/Makefile
@@ -5,8 +5,6 @@ test: ../mustach
@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
-
+ rm -f resu.last
diff --git a/src/mustach/test2/vg.ref b/src/mustach/test2/vg.ref
@@ -1,14 +0,0 @@
-Memcheck, a memory error detector
-Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
-Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
-Command: ../mustach json must
-
-
-HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 62 allocs, 62 frees, 11,187 bytes allocated
-
-All heap blocks were freed -- no leaks are possible
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/src/mustach/test3/Makefile b/src/mustach/test3/Makefile
@@ -5,8 +5,7 @@ test: ../mustach
@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
+ rm -f resu.last
diff --git a/src/mustach/test3/vg.ref b/src/mustach/test3/vg.ref
@@ -1,14 +0,0 @@
-Memcheck, a memory error detector
-Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
-Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
-Command: ../mustach json must
-
-
-HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 41 allocs, 41 frees, 8,834 bytes allocated
-
-All heap blocks were freed -- no leaks are possible
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/src/mustach/test4/Makefile b/src/mustach/test4/Makefile
@@ -5,8 +5,7 @@ test: ../mustach
@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
+ rm -f resu.last
diff --git a/src/mustach/test4/vg.ref b/src/mustach/test4/vg.ref
@@ -1,14 +0,0 @@
-Memcheck, a memory error detector
-Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
-Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
-Command: ../mustach json must
-
-
-HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 142 allocs, 142 frees, 18,276 bytes allocated
-
-All heap blocks were freed -- no leaks are possible
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/src/mustach/test5/Makefile b/src/mustach/test5/Makefile
@@ -5,8 +5,7 @@ test: ../mustach
@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
+ rm -f resu.last
diff --git a/src/mustach/test5/vg.ref b/src/mustach/test5/vg.ref
@@ -1,14 +0,0 @@
-Memcheck, a memory error detector
-Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
-Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
-Command: ../mustach json must
-
-
-HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 181 allocs, 181 frees, 36,033 bytes allocated
-
-All heap blocks were freed -- no leaks are possible
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/src/mustach/test6/Makefile b/src/mustach/test6/Makefile
@@ -9,8 +9,7 @@ test: test-custom-write
@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
+ rm -f resu.last test-custom-write
diff --git a/src/mustach/test6/vg.ref b/src/mustach/test6/vg.ref
@@ -1,14 +0,0 @@
-Memcheck, a memory error detector
-Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
-Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
-Command: ./test-custom-write json -U must -l must -x must
-
-
-HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 171 allocs, 171 frees, 26,351 bytes allocated
-
-All heap blocks were freed -- no leaks are possible
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)