From: Przemyslaw Skibinski Date: Wed, 30 Nov 2016 14:20:24 +0000 (+0100) Subject: added test-gzstd X-Git-Tag: v1.1.2~46^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0efaf7e7b1fee82e4fda3f5b78dbfa27856c0869;p=thirdparty%2Fzstd.git added test-gzstd --- diff --git a/.travis.yml b/.travis.yml index c001152f5..148a98f1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ matrix: os: linux sudo: false - - env: Ubu=12.04cont Cmd="make zlibwrapper && make clean && make -C tests test-zstd-nolegacy && make clean && make clean && make cmaketest && make clean && make -C contrib/pzstd googletest pzstd tests check && make -C contrib/pzstd clean" + - env: Ubu=12.04cont Cmd="make zlibwrapper && make clean && make -C tests test-zstd-nolegacy && make clean && make cmaketest && make clean && make -C contrib/pzstd googletest pzstd tests check && make -C contrib/pzstd clean" os: linux sudo: false language: cpp @@ -37,7 +37,7 @@ matrix: # Standard Ubuntu 12.04 LTS Server Edition 64 bit - - env: Ubu=12.04 Cmd="make -C programs zstd-small && make -C programs zstd-decompress && make -C programs zstd-compress && make -C programs clean && make -C tests versionsTest" + - env: Ubu=12.04 Cmd="make -C programs zstd-small zstd-decompress zstd-compress && make -C tests test-gzstd && make -C programs clean && make -C tests versionsTest" os: linux sudo: required diff --git a/tests/Makefile b/tests/Makefile index 7e5c66ad8..ca899d2f8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -76,6 +76,9 @@ zstd32: zstd-nolegacy: $(MAKE) -C $(PRGDIR) $@ +gzstd: + $(MAKE) -C $(PRGDIR) $@ + fullbench : $(ZSTD_FILES) $(PRGDIR)/datagen.c fullbench.c $(CC) $(FLAGS) $^ -o $@$(EXT) @@ -190,6 +193,11 @@ test-zstd32: zstd32 zstd-playTests test-zstd-nolegacy: ZSTD = $(PRGDIR)/zstd test-zstd-nolegacy: zstd-nolegacy zstd-playTests +test-gzstd: gzstd + gzip README.md test-zstd-speed.py + $(PRGDIR)/zstd -d README.md.gz -o README2.md + $(PRGDIR)/zstd -d README.md.gz test-zstd-speed.py.gz + test-fullbench: fullbench datagen $(QEMU_SYS) ./fullbench -i1 $(QEMU_SYS) ./fullbench -i1 -P0