mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix skipifs
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
phpt EXTENSIONS directive with static module
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(empty($_ENV['TEST_PHP_EXECUTABLE'])) {
|
||||
die('skip TEST_PHP_EXECUTABLE not set');
|
||||
}
|
||||
$php = $_ENV['TEST_PHP_EXECUTABLE'];
|
||||
$php = getenv('TEST_PHP_EXECUTABLE');
|
||||
if (false === stripos(`$php -n -m`, 'spl')) {
|
||||
die('skip spl is NOT built static');
|
||||
}
|
||||
@@ -15,4 +12,4 @@ SPL
|
||||
<?php
|
||||
var_dump(extension_loaded('spl'));
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
phpt EXTENSIONS directive with shared module
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if(empty($_ENV['TEST_PHP_EXECUTABLE'])) {
|
||||
die('skip TEST_PHP_EXECUTABLE not set');
|
||||
}
|
||||
$php = $_ENV['TEST_PHP_EXECUTABLE'];
|
||||
$php = getenv('TEST_PHP_EXECUTABLE');
|
||||
if (false !== stripos(`$php -n -m`, 'openssl')) {
|
||||
die('skip openssl is built static');
|
||||
}
|
||||
@@ -17,4 +14,4 @@ openssl
|
||||
<?php
|
||||
var_dump(extension_loaded('openssl'));
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
||||
|
||||
Reference in New Issue
Block a user