mirror of
https://github.com/facebook/zstd.git
synced 2025-08-07 06:23:00 +03:00
fuzzer : tests with high id are run without need to change finalTestNb
This commit is contained in:
@@ -851,6 +851,8 @@ int main(int argc, const char** argv)
|
|||||||
DISPLAY("Seed = %u\n", seed);
|
DISPLAY("Seed = %u\n", seed);
|
||||||
if (proba!=FUZ_compressibility_default) DISPLAY("Compressibility : %u%%\n", proba);
|
if (proba!=FUZ_compressibility_default) DISPLAY("Compressibility : %u%%\n", proba);
|
||||||
|
|
||||||
|
if (nbTests < testNb) nbTests = testNb;
|
||||||
|
|
||||||
if (testNb==0)
|
if (testNb==0)
|
||||||
result = basicUnitTests(0, ((double)proba) / 100); /* constant seed for predictability */
|
result = basicUnitTests(0, ((double)proba) / 100); /* constant seed for predictability */
|
||||||
if (!result)
|
if (!result)
|
||||||
|
Reference in New Issue
Block a user