summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-12-27 12:14:04 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-12-27 12:14:04 (GMT)
commitf4575f4f148dd62894d5d2f0af2e8b1a5fc08ae2 (patch)
tree07952491153708ce1e2db7f792c51d7f8956af91 /tests
parente6536faf337e1c4e202f32bec860e2c87511d7f3 (diff)
downloadlz4-f4575f4f148dd62894d5d2f0af2e8b1a5fc08ae2.zip
lz4-f4575f4f148dd62894d5d2f0af2e8b1a5fc08ae2.tar.gz
lz4-f4575f4f148dd62894d5d2f0af2e8b1a5fc08ae2.tar.bz2
added test-lz4-opt-parser
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 1b92718..bf84034 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -277,7 +277,15 @@ test-lz4-testmode: lz4 datagen
$(LZ4) -fm file1-dne file2-dne && false || true
$(LZ4) -fm file1-dne file2-dne && false || true
-test-lz4: lz4 datagen test-lz4-basic test-lz4-multiple test-lz4-sparse \
+test-lz4-opt-parser: lz4 datagen
+ @echo "\n ---- test opt-parser ----"
+ ./datagen -g16KB | $(LZ4) -12 | $(LZ4) -t
+ ./datagen -P10 | $(LZ4) -12B4 | $(LZ4) -t
+ ./datagen | $(LZ4) -12 | $(LZ4) -t
+ ./datagen -g1M | $(LZ4) -11B5 | $(LZ4) -t
+ ./datagen -g256MB | $(LZ4) -11vqB4D | $(LZ4) -qt
+
+test-lz4: lz4 datagen test-lz4-opt-parser test-lz4-basic test-lz4-multiple test-lz4-sparse \
test-lz4-frame-concatenation test-lz4-testmode test-lz4-contentSize \
test-lz4-hugefile