mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Execute --SKIPIF-- like --FILE--
This commit is contained in:
parent
472cc5b9f3
commit
23e5004132
@ -688,7 +688,7 @@ TEST $file
|
||||
if (array_key_exists('SKIPIF', $section_text)) {
|
||||
if (trim($section_text['SKIPIF'])) {
|
||||
save_text($tmp_skipif, $section_text['SKIPIF']);
|
||||
$output = `$php $info_params $tmp_skipif`;
|
||||
$output = system_with_timeout("$php $info_params $tmp_skipif");
|
||||
@unlink($tmp_skipif);
|
||||
if (eregi("^skip", trim($output))) {
|
||||
echo "SKIP $tested";
|
||||
|
Loading…
Reference in New Issue
Block a user