updated test-gzstd
This commit is contained in:
@@ -35,6 +35,9 @@
|
|||||||
#include "zstd.h"
|
#include "zstd.h"
|
||||||
#ifdef ZSTD_GZDECOMPRESS
|
#ifdef ZSTD_GZDECOMPRESS
|
||||||
#include "zlib.h"
|
#include "zlib.h"
|
||||||
|
#if !defined(z_const)
|
||||||
|
#define z_const
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -194,9 +194,14 @@ test-zstd-nolegacy: ZSTD = $(PRGDIR)/zstd
|
|||||||
test-zstd-nolegacy: zstd-nolegacy zstd-playTests
|
test-zstd-nolegacy: zstd-nolegacy zstd-playTests
|
||||||
|
|
||||||
test-gzstd: gzstd
|
test-gzstd: gzstd
|
||||||
|
$(PRGDIR)/zstd README.md test-zstd-speed.py
|
||||||
gzip README.md test-zstd-speed.py
|
gzip README.md test-zstd-speed.py
|
||||||
|
cat README.md.zst test-zstd-speed.py.gz >zstd_gz.zst
|
||||||
|
cat README.md.gz test-zstd-speed.py.zst >gz_zstd.gz
|
||||||
$(PRGDIR)/zstd -d README.md.gz -o README2.md
|
$(PRGDIR)/zstd -d README.md.gz -o README2.md
|
||||||
$(PRGDIR)/zstd -d README.md.gz test-zstd-speed.py.gz
|
$(PRGDIR)/zstd -d README.md.gz test-zstd-speed.py.gz
|
||||||
|
$(PRGDIR)/zstd -d zstd_gz.zst gz_zstd.gz
|
||||||
|
diff -q zstd_gz gz_zstd
|
||||||
|
|
||||||
test-fullbench: fullbench datagen
|
test-fullbench: fullbench datagen
|
||||||
$(QEMU_SYS) ./fullbench -i1
|
$(QEMU_SYS) ./fullbench -i1
|
||||||
|
|||||||
Reference in New Issue
Block a user