summaryrefslogtreecommitdiffstats
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
parent386d216cdf92574c48c2a6c2efc223bf0cc3e844 (diff)
downloadlz4-3bcf68ff35ccc387ac7558892ea116993711644f.zip
lz4-3bcf68ff35ccc387ac7558892ea116993711644f.tar.gz
lz4-3bcf68ff35ccc387ac7558892ea116993711644f.tar.bz2
Use lz4 binary to check output
-rw-r--r--Makefile1
-rw-r--r--examples/Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce5e9fc..863c866 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,7 @@ versionstest: clean
streaming-examples:
cd lib; $(MAKE) -e
+ cd programs; $(MAKE) -e lz4
cd examples; $(MAKE) -e test
prg-travis:
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 \