fuzzer : tests with high id are run without need to change finalTestNb
parent
80d033fb43
commit
803c05ec7e
|
@ -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)
|
||||||
|
|
|
@ -130,7 +130,7 @@ if __name__ == '__main__':
|
||||||
# Build all release zstd
|
# Build all release zstd
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
os.chdir(base_dir)
|
os.chdir(base_dir)
|
||||||
dst_zstd = '{}/zstd.{}' .format(tmp_dir, tag) # /path/to/zstd/tests/versionsTest/zstd.<TAG>
|
dst_zstd = '{}/zstd.{}'.format(tmp_dir, tag) # /path/to/zstd/tests/versionsTest/zstd.<TAG>
|
||||||
if not os.path.isfile(dst_zstd) or tag == head:
|
if not os.path.isfile(dst_zstd) or tag == head:
|
||||||
if tag != head:
|
if tag != head:
|
||||||
r_dir = '{}/{}'.format(tmp_dir, tag) # /path/to/zstd/tests/versionsTest/<TAG>
|
r_dir = '{}/{}'.format(tmp_dir, tag) # /path/to/zstd/tests/versionsTest/<TAG>
|
||||||
|
|
Loading…
Reference in New Issue