summaryrefslogtreecommitdiffstats
path: root/programs
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-06-27 21:44:13 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-06-27 21:44:13 (GMT)
commit454d109c5dae7303ee0b67f2ce4414cdf82b74be (patch)
tree14cf59e37e95c0d74fadc3d2035870a92328f2f6 /programs
parentcaba2cc0f5bc7b85c74b5868ea3aa3b8d1365391 (diff)
downloadlz4-454d109c5dae7303ee0b67f2ce4414cdf82b74be.zip
lz4-454d109c5dae7303ee0b67f2ce4414cdf82b74be.tar.gz
lz4-454d109c5dae7303ee0b67f2ce4414cdf82b74be.tar.bz2
Fixed : fuzzer display messages
Diffstat (limited to 'programs')
-rw-r--r--programs/fuzzer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/fuzzer.c b/programs/fuzzer.c
index 6588290..de12478 100644
--- a/programs/fuzzer.c
+++ b/programs/fuzzer.c
@@ -407,7 +407,7 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c
FUZ_CHECKTEST(ret > targetSize, "LZ4_compress_destSize() result larger than dst buffer !");
FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buffer !");
FUZ_CHECKTEST(srcSize > blockSize, "LZ4_compress_destSize() fed more than src buffer !");
- DISPLAY("destSize : %7i/%7i; content%7i/%7i ", ret, targetSize, srcSize, blockSize);
+ DISPLAYLEVEL(5, "destSize : %7i/%7i; content%7i/%7i ", ret, targetSize, srcSize, blockSize);
if (targetSize>0)
{
FUZ_CHECKTEST((ret==0), "LZ4_compress_destSize() compression failed");
@@ -425,10 +425,10 @@ static int FUZ_test(U32 seed, U32 nbCycles, const U32 startCycle, const double c
crcCheck = XXH32(decodedBuffer, srcSize, 0);
FUZ_CHECKTEST(crcCheck!=crcOrig, "LZ4_decompress_safe() corrupted decoded data");
- DISPLAY(" OK \n");
+ DISPLAYLEVEL(5, " OK \n");
}
else
- DISPLAY(" \n");
+ DISPLAYLEVEL(5, " \n");
}
/* Test compression HC */