libnxz / power-gzip

POWER NX zlib compliant library
23 stars 18 forks source link

oct: Allow a per-test TIMEOUT and increase the timeout for db2 #55

Closed tuliom closed 3 years ago

tuliom commented 3 years ago

Decompress tests for db2 on levels >= 5 take up to 140 minutes to complete. This value is completely different from the timeout required by the other tests, requiring a different approach to how TIMEOUT is applied.

This patch allows to specify a different TIMEOUT for each test by using automake-like variables, e.g. db2_TIMEOUT. Tests without their own variable fallback to the TIMEOUT value.