Lines Matching refs:lz4
48 LZ4 := $(PRGDIR)/lz4$(EXT)
64 lz4: target
70 lz4c unlz4 lz4cat: lz4
80 fullbench : lz4.o lz4hc.o lz4frame.o xxhash.o fullbench.c
97 fuzzer : lz4.o lz4hc.o xxhash.o fuzzer.c
100 frametest: lz4frame.o lz4.o lz4hc.o xxhash.o frametest.c
103 roundTripTest : lz4.o lz4hc.o xxhash.o roundTripTest.c
109 checkFrame : lz4frame.o lz4.o lz4hc.o xxhash.o checkFrame.c
112 decompress-partial: lz4.o decompress-partial.c
115 decompress-partial-usingDict: lz4.o decompress-partial-usingDict.c
140 $(PYTHON) test-lz4-versions.py
143 listTest: lz4
144 QEMU_SYS=$(QEMU_SYS) $(PYTHON) test-lz4-list.py
150 $(PYTHON) test-lz4-abi.py
152 checkTag: checkTag.c $(LZ4DIR)/lz4.h
182 check: test-lz4-essentials
185 test: test-lz4 test-lz4c test-frametest test-fullbench test-fuzzer test-amalgamation listTest test-…
194 lz4_all.c: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c
198 test-install: lz4 lib liblz4.pc
201 .PHONY: test-compile-with-lz4-memory-usage
202 test-compile-with-lz4-memory-usage:
206 .PHONY: test-lz4-sparse
214 test-lz4-sparse: FPREFIX = tmp-tls
215 test-lz4-sparse: lz4 datagen
247 test-lz4-contentSize: FPREFIX = tmp-lzc
248 test-lz4-contentSize: lz4 datagen
254 $(LZ4) -f $(FPREFIX) -c > $(FPREFIX).lz4 # compressed with content size
255 $(LZ4) --content-size $(FPREFIX) -c > $(FPREFIX)-wcz.lz4
256 ! $(DIFF) $(FPREFIX).lz4 $(FPREFIX)-wcz.lz4 # must differ, due to content size
257 …$(LZ4) --content-size < $(FPREFIX) > $(FPREFIX)-wcz2.lz4 # can determine content size because stdi…
258 $(DIFF) $(FPREFIX)-wcz.lz4 $(FPREFIX)-wcz2.lz4 # both must contain content size
259 $(CAT) $(FPREFIX) | $(LZ4) > $(FPREFIX)-ncz.lz4
260 $(DIFF) $(FPREFIX).lz4 $(FPREFIX)-ncz.lz4 # both don't have content size
261 $(CAT) $(FPREFIX) | $(LZ4) --content-size > $(FPREFIX)-ncz2.lz4 # can't determine content size
262 $(DIFF) $(FPREFIX).lz4 $(FPREFIX)-ncz2.lz4 # both don't have content size
265 test-lz4-frame-concatenation: FPREFIX = tmp-lfc
266 test-lz4-frame-concatenation: lz4 datagen
271 $(LZ4) -zq $(FPREFIX)-empty -c > $(FPREFIX)-empty.lz4
272 $(LZ4) -zq $(FPREFIX)-nonempty -c > $(FPREFIX)-nonempty.lz4
273 $(CAT) $(FPREFIX)-nonempty.lz4 $(FPREFIX)-empty.lz4 $(FPREFIX)-nonempty.lz4 > $(FPREFIX)-concat.lz4
274 $(LZ4) -d $(FPREFIX)-concat.lz4 -c > $(FPREFIX)-result
279 test-lz4-multiple: FPREFIX = tmp-tml
280 test-lz4-multiple: lz4 datagen
287 test -f $(FPREFIX)1.lz4
288 test -f $(FPREFIX)2.lz4
289 test -f $(FPREFIX)3.lz4
294 $(LZ4) -d -f -m $(FPREFIX)*.lz4
299 $(CAT) $(FPREFIX)1.lz4 $(FPREFIX)2.lz4 $(FPREFIX)3.lz4 > $(FPREFIX)-concat1
300 $(RM) $(FPREFIX)*.lz4
302 test ! -f $(FPREFIX)1.lz4 # must not create .lz4 artefact
309 $(LZ4) -d -m $(FPREFIX)1.lz4 $(FPREFIX)2.lz4 $(FPREFIX)3.lz4 -c > $(FPREFIX)-concat2
315 $(LZ4) -tm $(FPREFIX)-concat1.lz4
316 $(LZ4) -tm $(FPREFIX)-concat1.lz4 $(FPREFIX)-concat2.lz4
318 ! $(LZ4) -tm $(FPREFIX)-concat1.lz4 notHere.lz4 $(FPREFIX)-concat2.lz4
321 test-lz4-multiple-legacy: FPREFIX = tmp-lml
322 test-lz4-multiple-legacy: lz4 datagen
329 test -f $(FPREFIX)1.lz4
330 test -f $(FPREFIX)2.lz4
331 test -f $(FPREFIX)3.lz4
336 $(LZ4) -d -f -m $(FPREFIX)*.lz4
337 $(LZ4) -l -d -f -m $(FPREFIX)*.lz4 # -l mustn't impact -d option
342 $(CAT) $(FPREFIX)1.lz4 $(FPREFIX)2.lz4 $(FPREFIX)3.lz4 > $(FPREFIX)-concat1
343 $(RM) $(FPREFIX)*.lz4
345 test ! -f $(FPREFIX)1.lz4 # must not create .lz4 artefact
352 $(LZ4) -d -m $(FPREFIX)1.lz4 $(FPREFIX)2.lz4 $(FPREFIX)3.lz4 -c > $(FPREFIX)-concat2
353 …$(LZ4) -d -l -m $(FPREFIX)1.lz4 $(FPREFIX)2.lz4 $(FPREFIX)3.lz4 -c > $(FPREFIX)-concat2 # -l mustn…
361 test-lz4-skippable: FPREFIX = tmp-lsk
362 test-lz4-skippable: lz4 datagen
367 echo "Hello from Valid Frame!\n" | $(LZ4) -c > $(FPREFIX).lz4
368 cat $(SKIPFILE) $(FPREFIX).lz4 $(SKIPFILE) | $(LZ4) -dc
371 test-lz4-basic: FPREFIX = tmp-tlb
372 test-lz4-basic: lz4 datagen unlz4 lz4cat
388 $(LZ4) --rm -f $(FPREFIX)-hw $(FPREFIX)-hw.lz4
390 test -f $(FPREFIX)-hw.lz4
391 $(PRGDIR)/lz4cat $(FPREFIX)-hw.lz4 | $(GREP) "hello world"
392 $(PRGDIR)/unlz4 --rm $(FPREFIX)-hw.lz4 $(FPREFIX)-hw
394 test ! -f $(FPREFIX)-hw.lz4 # must fail (--rm)
395 test ! -f $(FPREFIX)-hw.lz4.lz4 # must fail (unlz4)
398 test ! -f $(FPREFIX)-hw.lz4 # must fail (lz4cat)
399 $(LZ4) $(FPREFIX)-hw $(FPREFIX)-hw.lz4 # creates $(FPREFIX)-hw.lz4
400 $(PRGDIR)/lz4cat < $(FPREFIX)-hw.lz4 > $(FPREFIX)3 # checks lz4cat works with stdin (#285)
405 $(LZ4) --rm -- -d -d.lz4 # compresses ./d into ./-d.lz4
406 test -f ./-d.lz4
408 mv ./-d.lz4 ./-z
414 $(LZ4) --list $(FPREFIX)-hw.lz4 # test --list on valid single-frame file
415 $(LZ4) --list < $(FPREFIX)-hw.lz4 # test --list from stdin (file only)
416 $(CAT) $(FPREFIX)-hw >> $(FPREFIX)-hw.lz4
417 …! $(LZ4) -f $(FPREFIX)-hw.lz4 # uncompress valid frame followed by invalid data (must …
431 $(LZ4) $(FPREFIX)-test.lz4 $(FPREFIX)-test2
436 test-lz4-dict: FPREFIX = tmp-dict
437 test-lz4-dict: lz4 datagen
461 test-lz4hc-hugefile: lz4 datagen
465 test-lz4-fast-hugefile: FPREFIX = tmp-lfh
466 test-lz4-fast-hugefile: lz4 datagen
477 test-lz4-hugefile: test-lz4-fast-hugefile test-lz4hc-hugefile
479 test-lz4-testmode: FPREFIX = tmp-ltm
480 test-lz4-testmode: lz4 datagen
484 $(LZ4) -f $(FPREFIX) -c > $(FPREFIX).lz4
485 $(LZ4) -bdi0 $(FPREFIX).lz4 # test benchmark decode-only mode
486 $(LZ4) -bdi0 --no-crc $(FPREFIX).lz4 # test benchmark decode-only mode
491 @echo "Why hello there " > $(FPREFIX)2.lz4
492 ! $(LZ4) -f $(FPREFIX)2.lz4 > $(VOID)
507 test-lz4-opt-parser: lz4 datagen
521 test-lz4-essentials : lz4 datagen test-lz4-basic test-lz4-multiple test-lz4-multiple-legacy \
522 test-lz4-frame-concatenation test-lz4-testmode \
523 test-lz4-contentSize test-lz4-dict
525 test-lz4: lz4 datagen test-lz4-essentials test-lz4-opt-parser \
526 test-lz4-sparse test-lz4-hugefile test-lz4-dict \
527 test-lz4-skippable
535 test-lz4c32: test-lz4
537 test-interop-32-64: lz4 lz4c32 datagen
583 test-mem: lz4 datagen fuzzer frametest fullbench
597 $(VALGRIND) $(LZ4) --list -m $(FPREFIX)*.lz4
598 $(VALGRIND) $(LZ4) --list -m -v $(FPREFIX)*.lz4