Merge pull request #1216 from felixhandte/pool-test-time-t-fix

poolTests.c: Fix Interval Var Type
This commit is contained in:
Yann Collet
2018-06-27 16:45:38 -07:00
committed by GitHub
2 changed files with 3 additions and 4 deletions
+1 -3
View File
@@ -31,9 +31,7 @@ matrix:
- env: Cmd='make ppcinstall && make ppc64fuzz'
- env: Cmd='make -j uasanregressiontest && make clean && make -j msanregressiontest'
- env: Cmd='make lz4install && make -C tests test-lz4'
- env: Cmd='bash tests/libzstd_partial_builds.sh'
- env: Cmd='make lz4install && make -C tests test-lz4 test-pool && make clean && bash tests/libzstd_partial_builds.sh'
# tag-specific test
- if: tag =~ ^v[0-9]\.[0-9]
+2 -1
View File
@@ -105,7 +105,8 @@ void waitLongFn(void *opaque) {
static int testThreadReduction_internal(POOL_ctx* ctx, poolTest_t test)
{
int const nbWaits = 16;
UTIL_time_t startTime, time4threads, time2threads;
UTIL_time_t startTime;
U64 time4threads, time2threads;
test.val = 0;
test.max = nbWaits;