Skip to content

Commit 47c79a9

Browse files
committed
Use --EXTENSIONS-- section for newly added tests
As of PHP 8.1.0, the `--EXTENSIONS-- section is properly supported, and CIs may make use of that (our AppVeyor CI does). Thus it is important to list required extensions there, since otherwise they may not be loaded, causing the test to be skipped, or worse, to be borked.
1 parent 878b20b commit 47c79a9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

ext/mysqli/tests/gh9590.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
--TEST--
22
Bug GH-9602 (stream_select does not abort upon exception or empty valid fd set)
3+
--EXTENSIONS--
4+
mysqli
35
--SKIPIF--
46
<?php
5-
require_once('skipif.inc');
6-
require_once('connect.inc');
77
require_once('skipifconnectfailure.inc');
88

99
if (!$IS_MYSQLND)

ext/standard/tests/streams/gh9590-001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug GH-9590 001 (stream_select does not abort upon exception or empty valid fd set)
3+
--EXTENSIONS--
4+
posix
35
--SKIPIF--
46
<?php
57
if (!function_exists('posix_setrlimit') || !posix_setrlimit(POSIX_RLIMIT_NOFILE, 2048, -1)) {

ext/standard/tests/streams/gh9590-002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug GH-9590 002 (stream_select does not abort upon exception or empty valid fd set)
3+
--EXTENSIONS--
4+
posix
35
--SKIPIF--
46
<?php
57
if (!function_exists('posix_setrlimit') || !posix_setrlimit(POSIX_RLIMIT_NOFILE, 2048, -1)) {

0 commit comments

Comments
 (0)