summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-11 18:42:37 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-11 18:42:37 (GMT)
commit12ab41571ef7fd11b8b2013aa943beae373cef8a (patch)
treebc358cdcebd2c920d3df24b9656fda69cbc0c914 /programs/Makefile
parente3f33d25793193e005eadf4c04c2fbcf2eae497e (diff)
downloadlz4-12ab41571ef7fd11b8b2013aa943beae373cef8a.zip
lz4-12ab41571ef7fd11b8b2013aa943beae373cef8a.tar.gz
lz4-12ab41571ef7fd11b8b2013aa943beae373cef8a.tar.bz2
Preliminary support for sparse files
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 2c883d0..b9bb5b3 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -143,10 +143,11 @@ 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 -g17M | ./lz4 -9v | ./lz4 -vdq > $(VOID)
+ ./datagen -g17M | ./lz4 -9v | ./lz4 -dq > $(VOID)
./datagen -g256MB | ./lz4 -vqB4D | ./lz4 -vdq > $(VOID)
./datagen -g6GB | ./lz4 -vqB5D | ./lz4 -vdq > $(VOID)
# test frame concatenation with null-length frame
+ @echo *** test frame concatenation ***
@echo -n > empty.test
@echo hi > nonempty.test
cat nonempty.test empty.test nonempty.test > orig.test
@@ -158,12 +159,16 @@ test-lz4: lz4 datagen
@rm *.test
@echo frame concatenation test completed
# test frame concatenation with null-length frame
- @echo test multiple input files
+ @echo *** test multiple input files ***
@./datagen -s1 > file1
@./datagen -s2 > file2
@./datagen -s3 > file3
./lz4 -f -m file1 file2 file3
@rm file1 file2 file3 file1.lz4 file2.lz4 file3.lz4
+ @echo *** test sparse file support ***
+ ./datagen -g50M -P100 | ./lz4 -B4 | ./lz4 -dvX > tmp
+ ls -ls tmp
+ @rm tmp
test-lz4c: lz4c datagen