1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

simplify BMK_syntheticTest()

This commit is contained in:
Yann Collet
2023-03-06 12:15:22 -08:00
parent db7d7b6974
commit db79219f70
3 changed files with 29 additions and 33 deletions

View File

@ -1401,8 +1401,8 @@ int main(int argCount, const char* argv[])
} }
} else {
for(; cLevel <= cLevelLast; cLevel++) {
BMK_benchOutcome_t const bo = BMK_syntheticTest(cLevel, compressibility, &compressionParams, g_displayLevel, &benchParams);
if (!BMK_isSuccessful_benchOutcome(bo)) return 1;
if ( BMK_syntheticTest(cLevel, compressibility, &compressionParams, g_displayLevel, &benchParams) )
return 1;
} }
#else