summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-09 23:12:51 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-09 23:12:51 (GMT)
commit6b0c39b839b8343da195252a8c46e6d93138f3b8 (patch)
tree6176b68da7f6d7b6f07d613943b96cbae3d85008 /programs/Makefile
parente277511ab65ad2482fecf70b8ad3665a8caa200a (diff)
downloadlz4-6b0c39b839b8343da195252a8c46e6d93138f3b8.zip
lz4-6b0c39b839b8343da195252a8c46e6d93138f3b8.tar.gz
lz4-6b0c39b839b8343da195252a8c46e6d93138f3b8.tar.bz2
Updated datagen (can create sparse files)
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 1070f40..2c883d0 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -92,7 +92,7 @@ frametest: $(LZ4DIR)/lz4frame.c $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxha
frametest32: $(LZ4DIR)/lz4frame.c $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/xxhash.c frametest.c
$(CC) -m32 $(FLAGS) $^ -o $@$(EXT)
-datagen : datagen.c
+datagen : datagen.c datagencli.c
$(CC) $(FLAGS) $^ -o $@$(EXT)
@@ -142,7 +142,7 @@ test-travis: $(TRAVIS_TARGET)
test-lz4: lz4 datagen
./datagen -g16KB | ./lz4 -9 | ./lz4 -vdq > $(VOID)
./datagen | ./lz4 | ./lz4 -vdq > $(VOID)
- ./datagen -g6M -p100 | ./lz4 -9BD | ./lz4 -vdq > $(VOID)
+ ./datagen -g6M -P100 | ./lz4 -9BD | ./lz4 -vdq > $(VOID)
./datagen -g17M | ./lz4 -9v | ./lz4 -vdq > $(VOID)
./datagen -g256MB | ./lz4 -vqB4D | ./lz4 -vdq > $(VOID)
./datagen -g6GB | ./lz4 -vqB5D | ./lz4 -vdq > $(VOID)
@@ -197,6 +197,7 @@ test-frametest32: frametest32
./frametest32
test-mem: lz4 datagen fuzzer frametest
+ valgrind --leak-check=yes ./datagen -g50M > /dev/null
./datagen -g16KB > tmp
valgrind --leak-check=yes ./lz4 -9 -BD -f tmp /dev/null
./datagen -g16MB > tmp