]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Print More During Fuzzer Test to Avoid CI Killing it Due to Timeout 2295/head
authorW. Felix Handte <w@felixhandte.com>
Fri, 11 Sep 2020 03:35:42 +0000 (23:35 -0400)
committerW. Felix Handte <w@felixhandte.com>
Fri, 11 Sep 2020 03:35:42 +0000 (23:35 -0400)
This is kind of hacky. And maybe this test doesn't need to be permanently as
exhaustive as it is now. But while we're actively developing the DDSS, we
should ensure it's compatible across many different modes.

tests/fuzzer.c

index a659f4872cb766eabf25cb4e208dd8363b65b1ea..52086c7f389d1d2d66f2281ec0b724cda9471f22 100644 (file)
@@ -2949,13 +2949,14 @@ static int basicUnitTests(U32 const seed, double compressibility)
         CHECK(cctx_params != NULL);
 
         for (dictSize = CNBuffSize; dictSize; dictSize = dictSize >> 3) {
+            DISPLAYLEVEL(3, "\n    Testing with dictSize %u ", (U32)dictSize);
             for (cLevel = 4; cLevel < 13; cLevel++) {
                 for (i = 0; i < 8; ++i) {
                     ZSTD_dictAttachPref_e const attachPref = attachPrefs[i];
                     int const enableDDS = enableDedicatedDictSearch[i];
                     ZSTD_CDict* cdict;
 
-                    DISPLAYLEVEL(5, "\n  dictSize %u cLevel %d iter %d ", (U32)dictSize, cLevel, i);
+                    DISPLAYLEVEL(5, "\n      dictSize %u cLevel %d iter %d ", (U32)dictSize, cLevel, i);
 
                     ZSTD_CCtxParams_init(cctx_params, cLevel);
                     CHECK_Z(ZSTD_CCtxParams_setParameter(cctx_params, ZSTD_c_enableDedicatedDictSearch, enableDDS));