Closed tuliom closed 3 years ago
This exposes that we need a test for sizes smaller than the soft_copy_threshold
.
This exposes that we need a test for sizes smaller than the
soft_copy_threshold
.
While I agree with this, this issue is actually exposing errors in the test itself. I have fixed that and added new tests which are exposing more errors.
@mscastanho , @lucmaga I included a new test short arrays and fixed 2 issues with the tests.
(GitHub messed up my review comments on individual commits, posting again here)
@tuliom There are other _test_deflate
functions on test_[multithread_]stress.c
that should also be changed to use the pointer to comprLen, to keep things consistent.
There are other _testdeflate functions on test[multithread_]stress.c that should also be changed to use the pointer to comprLen, to keep things consistent.
@mscastanho test_multithread_stress.c
is not affected because it uses the compress|uncompress API.
I modified test_stress.c
in the last version of this PR.