From f99c2c1a229b1a64c77e7e7fd4f15e3d8686aa37 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 21 Jun 2017 23:35:58 -0700 Subject: [PATCH] reduced --no-big-tests even more to pass tests on qemu-aarch64 --- tests/zstreamtest.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/zstreamtest.c b/tests/zstreamtest.c index 3ab8d053..c972956c 100644 --- a/tests/zstreamtest.c +++ b/tests/zstreamtest.c @@ -45,7 +45,7 @@ #define GB *(1U<<30) static const U32 nbTestsDefault = 10000; -static const U32 g_cLevelMax_smallTests = 15; +static const U32 g_cLevelMax_smallTests = 10; #define COMPRESSIBLE_NOISE_LENGTH (10 MB) #define FUZ_COMPRESSIBILITY_DEFAULT 50 static const U32 prime32 = 2654435761U; @@ -670,7 +670,7 @@ static size_t FUZ_randomLength(U32* seed, U32 maxLog) static int fuzzerTests(U32 seed, U32 nbTests, unsigned startTest, double compressibility, int bigTests) { - static const U32 maxSrcLog = 24; + U32 const maxSrcLog = bigTests ? 24 : 22; static const U32 maxSampleLog = 19; size_t const srcBufferSize = (size_t)1<