summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-06-18 03:37:19 (GMT)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-06-18 03:45:15 (GMT)
commit3bcf68ff35ccc387ac7558892ea116993711644f (patch)
tree98cb21c8e2e8f446b2958646561b9c7081afeb0f /examples
parent386d216cdf92574c48c2a6c2efc223bf0cc3e844 (diff)
downloadlz4-3bcf68ff35ccc387ac7558892ea116993711644f.zip
lz4-3bcf68ff35ccc387ac7558892ea116993711644f.tar.gz
lz4-3bcf68ff35ccc387ac7558892ea116993711644f.tar.bz2
Use lz4 binary to check output
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 5d8bb0f..b7f6eca 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -33,6 +33,7 @@ FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
TESTFILE= Makefile
LZ4DIR := ../lib
+LZ4 = ../programs/lz4
# Define *.exe as extension for Windows systems
@@ -74,6 +75,7 @@ test : all
./ringBufferHC$(EXT) $(TESTFILE)
./lineCompress$(EXT) $(TESTFILE)
LD_LIBRARY_PATH=$(LZ4DIR) ./frameCompress$(EXT) $(TESTFILE)
+ $(LZ4) -vt $(TESTFILE).lz4
clean:
@rm -f core *.o *.dec *-0 *-9 *-8192 *.lz4s \