]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added test-gzstd
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 30 Nov 2016 14:20:24 +0000 (15:20 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 30 Nov 2016 14:20:24 +0000 (15:20 +0100)
.travis.yml
tests/Makefile

index c001152f59a4369db82945c906639971845068bb..148a98f1ba0bb903b4bd1249cc65549be1afdfea 100644 (file)
@@ -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
 
index 7e5c66ad8f4bef47d981038d9eece1385d4a799a..ca899d2f8ab3ef99fbe29743afb16830fb2c2462 100644 (file)
@@ -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