From 3bcf68ff35ccc387ac7558892ea116993711644f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 17 Jun 2015 23:37:19 -0400 Subject: Use lz4 binary to check output --- Makefile | 1 + examples/Makefile | 2 ++ 2 files changed, 3 insertions(+) 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 \ -- cgit v0.12