make : added target shortest
shortest only run fast part of playTests.sh . cc @iburinoc
This commit is contained in:
parent
c1c040eae1
commit
27526c7201
4
Makefile
4
Makefile
@ -63,6 +63,10 @@ zstdmt:
|
|||||||
zlibwrapper:
|
zlibwrapper:
|
||||||
$(MAKE) -C $(ZWRAPDIR) test
|
$(MAKE) -C $(ZWRAPDIR) test
|
||||||
|
|
||||||
|
.PHONY: shortest
|
||||||
|
shortest:
|
||||||
|
$(MAKE) -C $(TESTDIR) $@
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
$(MAKE) -C $(TESTDIR) $@
|
$(MAKE) -C $(TESTDIR) $@
|
||||||
|
@ -253,6 +253,9 @@ zstd-playTests: datagen
|
|||||||
file $(ZSTD)
|
file $(ZSTD)
|
||||||
ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST)
|
ZSTD="$(QEMU_SYS) $(ZSTD)" ./playTests.sh $(ZSTDRTTEST)
|
||||||
|
|
||||||
|
shortest: ZSTDRTTEST=
|
||||||
|
shortest: test-zstd
|
||||||
|
|
||||||
test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-decodecorpus
|
test: test-zstd test-fullbench test-fuzzer test-zstream test-invalidDictionaries test-legacy test-decodecorpus
|
||||||
ifeq ($(QEMU_SYS),)
|
ifeq ($(QEMU_SYS),)
|
||||||
test: test-pool
|
test: test-pool
|
||||||
|
@ -316,8 +316,9 @@ $ECHO "\n**** gzip compatibility tests **** "
|
|||||||
GZIPMODE=1
|
GZIPMODE=1
|
||||||
$ZSTD --format=gzip -V || GZIPMODE=0
|
$ZSTD --format=gzip -V || GZIPMODE=0
|
||||||
if [ $GZIPMODE -eq 1 ]; then
|
if [ $GZIPMODE -eq 1 ]; then
|
||||||
|
$ECHO "gzip support detected"
|
||||||
GZIPEXE=1
|
GZIPEXE=1
|
||||||
which gzip || GZIPEXE=0
|
gzip -V || GZIPEXE=0
|
||||||
if [ $GZIPEXE -eq 1 ]; then
|
if [ $GZIPEXE -eq 1 ]; then
|
||||||
./datagen > tmp
|
./datagen > tmp
|
||||||
$ZSTD --format=gzip -f tmp
|
$ZSTD --format=gzip -f tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user