summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-04-14 20:02:12 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-04-14 20:02:12 (GMT)
commit3f4f623bc9d8635459ab45f978bd1fcfd52ddc75 (patch)
tree9b918a117de0e73a991caa66684bc792e10b1550 /programs/Makefile
parent83e350d00b61d11a704ce9e7c599bf36c12a3783 (diff)
downloadlz4-3f4f623bc9d8635459ab45f978bd1fcfd52ddc75.zip
lz4-3f4f623bc9d8635459ab45f978bd1fcfd52ddc75.tar.gz
lz4-3f4f623bc9d8635459ab45f978bd1fcfd52ddc75.tar.bz2
Valgrind tests generate errors
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 1caaab4..6008c7b 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -244,22 +244,22 @@ test-frametest32: frametest32
./frametest32 $(FUZZER_TIME)
test-mem: lz4 datagen fuzzer frametest fullbench
- valgrind --leak-check=yes ./datagen -g50M > $(VOID)
+ valgrind --leak-check=yes --error-exitcode=1 ./datagen -g50M > $(VOID)
./datagen -g16KB > tmp
- valgrind --leak-check=yes ./lz4 -9 -BD -f tmp $(VOID)
+ valgrind --leak-check=yes --error-exitcode=1 ./lz4 -9 -BD -f tmp $(VOID)
./datagen -g16KB -s2 > tmp2
./datagen -g16KB -s3 > tmp3
- valgrind --leak-check=yes ./lz4 --force --multiple tmp tmp2 tmp3
+ valgrind --leak-check=yes --error-exitcode=1 ./lz4 --force --multiple tmp tmp2 tmp3
./datagen -g16MB > tmp
- valgrind --leak-check=yes ./lz4 -9 -B5D -f tmp tmp2
- valgrind --leak-check=yes ./lz4 -t tmp2
- valgrind --leak-check=yes ./lz4 -bi1 tmp
- valgrind --leak-check=yes ./fullbench -i1 tmp tmp2
+ valgrind --leak-check=yes --error-exitcode=1 ./lz4 -9 -B5D -f tmp tmp2
+ valgrind --leak-check=yes --error-exitcode=1 ./lz4 -t tmp2
+ valgrind --leak-check=yes --error-exitcode=1 ./lz4 -bi1 tmp
+ valgrind --leak-check=yes --error-exitcode=1 ./fullbench -i1 tmp tmp2
./datagen -g256MB > tmp
- valgrind --leak-check=yes ./lz4 -B4D -f -vq tmp $(VOID)
+ valgrind --leak-check=yes --error-exitcode=1 ./lz4 -B4D -f -vq tmp $(VOID)
rm tmp*
- valgrind --leak-check=yes ./fuzzer -i64 -t1
- valgrind --leak-check=yes ./frametest -i256
+ valgrind --leak-check=yes --error-exitcode=1 ./fuzzer -i64 -t1
+ valgrind --leak-check=yes --error-exitcode=1 ./frametest -i256
test-mem32: lz4c32 datagen
# unfortunately, valgrind doesn't seem to work with non-native binary. If someone knows how to do a valgrind-test on a 32-bits exe with a 64-bits system...