From 454d109c5dae7303ee0b67f2ce4414cdf82b74be Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 27 Jun 2015 13:44:13 -0800 Subject: Fixed : fuzzer display messages --- programs/fuzzer.c | 6 +++--- 1 file 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 */ -- cgit v0.12