summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorJennifer Liu <jenniferliu620@fb.com>2018-06-26 11:15:55 -0700
committerJennifer Liu <jenniferliu620@fb.com>2018-06-26 11:15:55 -0700
commit075952e34013a6b7edee0d3c75eecd62d07d7a20 (patch)
tree49c8c579600b8f0680c9ace9da2b48490755e846 /tests/Makefile
parent9f8fd098523fb1d5ea791f1f905317c1e1348bf0 (diff)
downloadlz4-075952e34013a6b7edee0d3c75eecd62d07d7a20.tar.gz
lz4-075952e34013a6b7edee0d3c75eecd62d07d7a20.tar.bz2
lz4-075952e34013a6b7edee0d3c75eecd62d07d7a20.zip
Fixed lz4 not found error
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 0eba02d..77220b5 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -262,9 +262,9 @@ test-lz4-basic: lz4 datagen unlz4 lz4cat
cat tmp-tlb-hw >> tmp-tlb-hw.lz4
$(LZ4) -f tmp-tlb-hw.lz4 # uncompress valid frame followed by invalid data
$(LZ4) -BX tmp-tlb-hw -c -q | $(LZ4) -tv # test block checksum
- test "$(shell ./datagen -g20KB | lz4 -c --fast | wc -c)" -lt "$(shell ./datagen -g20KB | lz4 -c --fast=9 | wc -c)" # compressed size of compression level -1 should be lower than -9
- test "$(shell ./datagen -g20KB | lz4 -c --fast=1 | wc -c)" -eq "$(shell ./datagen -g20KB| lz4 -c --fast| wc -c)" # checks default fast compression is -1
- test "$(shell ./datagen -g20KB | lz4 -c -9 | wc -c)" -lt "$(shell ./datagen -g20KB| lz4 -c --fast=1 | wc -c)" # compressed size of compression level 9 should be lower than -1
+ test "$(shell ./datagen -g20KB | $(LZ4) -c --fast | wc -c)" -lt "$(shell ./datagen -g20KB | lz4 -c --fast=9 | wc -c)" # compressed size of compression level -1 should be lower than -9
+ test "$(shell ./datagen -g20KB | $(LZ4) -c --fast=1 | wc -c)" -eq "$(shell ./datagen -g20KB| lz4 -c --fast| wc -c)" # checks default fast compression is -1
+ test "$(shell ./datagen -g20KB | $(LZ4) -c -9 | wc -c)" -lt "$(shell ./datagen -g20KB| lz4 -c --fast=1 | wc -c)" # compressed size of compression level 9 should be lower than -1
@$(RM) tmp-tlb*