diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-06-09 00:01:04 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-06-09 00:01:04 (GMT) |
commit | a79180f51dd2dbafca11588008116d288eca11f5 (patch) | |
tree | d7b8fc789ac7fd763d7856c5bc36f285ed80a92c /programs/Makefile | |
parent | c4f5b9de2a6483e4a2c962e2c7a0037fe42aee59 (diff) | |
download | lz4-a79180f51dd2dbafca11588008116d288eca11f5.zip lz4-a79180f51dd2dbafca11588008116d288eca11f5.tar.gz lz4-a79180f51dd2dbafca11588008116d288eca11f5.tar.bz2 |
New : valgrind memtest
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/programs/Makefile b/programs/Makefile index 522850e..53e4eb2 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -127,21 +127,21 @@ uninstall: test: $(TEST_TARGETS) -test-64: test-lz4 test-lz4c test-fullbench test-fuzzer +test-64: test-lz4 test-lz4c test-fullbench test-fuzzer test-mem -test-32: test-lz4 test-lz4c32 test-fullbench32 test-fuzzer32 +test-32: test-lz4 test-lz4c32 test-fullbench32 test-fuzzer32 test-mem32 test-lz4: lz4 datagen ./datagen | ./lz4 | ./lz4 -vdq > $(VOID) ./datagen -g256MB | ./lz4 -B4D | ./lz4 -vdq > $(VOID) - ./datagen -g6GB | ./lz4 -vqBD | ./lz4 -vdq > $(VOID) + ./datagen -g6GB | ./lz4 -vqB5D | ./lz4 -vdq > $(VOID) test-lz4c: lz4c datagen test-lz4c32: lz4c32 datagen ./datagen | ./lz4c32 | ./lz4c32 -vdq > $(VOID) ./datagen -g256MB | ./lz4c32 -B4D | ./lz4c32 -vdq > $(VOID) - ./datagen -g6GB | ./lz4c32 -vqBD | ./lz4c32 -vdq > $(VOID) + ./datagen -g6GB | ./lz4c32 -vqB5D | ./lz4c32 -vdq > $(VOID) test-fullbench: fullbench ./fullbench --no-prompt $(BENCH_NB) $(TEST_FILES) @@ -155,5 +155,12 @@ test-fuzzer: fuzzer test-fuzzer32: fuzzer32 ./fuzzer32 --no-prompt +test-mem: lz4 datagen + ./datagen -g256M > tmp + valgrind ./lz4 -B4D -f tmp /dev/null + rm tmp + +test-mem32: lz4c32 datagen +# unfortunately, valgrind doesn't work with non-native binary. If someone knows how to valgrind-test a 32-bits exe on a 64-bits system... endif |