added playTests.bat

This commit is contained in:
inikep
2016-05-18 18:05:56 +02:00
parent 3aa4b2b598
commit 2bd6b13e53
2 changed files with 157 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
@echo off
if [%3]==[] (SET C=%2 && SET P=) ELSE (SET C=%3 && SET P=%2)
rm -f tmp1 tmp2
echo roundTripTest: datagen %1 %P% ^| %ZSTD% -v%C% ^| %ZSTD% -d
datagen %1 %P% | md5sum > tmp1
datagen %1 %P% | %ZSTD% -vq%C% | %ZSTD% -d | md5sum > tmp2
fc tmp1 tmp2
EXIT /B %ERRORLEVEL%