mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/11045] Explicitely check for zlib and bz2
PHPBB3-11045
This commit is contained in:
parent
570502e4a3
commit
83a5326077
1 changed files with 1 additions and 2 deletions
|
@ -38,9 +38,8 @@ class phpbb_compress_test extends phpbb_test_case
|
||||||
$phpbb_root_path = '';
|
$phpbb_root_path = '';
|
||||||
|
|
||||||
$this->path = __DIR__ . '/fixtures/';
|
$this->path = __DIR__ . '/fixtures/';
|
||||||
$compress = new compress();
|
|
||||||
|
|
||||||
if (sizeof($compress->methods()) < 4)
|
if (!@extension_loaded('zlib') || !@extension_loaded('bz2'))
|
||||||
{
|
{
|
||||||
$this->markTestSkipped('PHP needs to be compiled with --with-zlib and --with-bz2 in order to run these tests');
|
$this->markTestSkipped('PHP needs to be compiled with --with-zlib and --with-bz2 in order to run these tests');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue