Skip to content

Commit 9c6dd46

Browse files
authored
Skip tests if extension or SAPI is not included. (#9939)
* Skip test if SAPI is not enabled. * Skip test if simplexml extension is disabled.
1 parent 6e5b989 commit 9c6dd46

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ext/libxml/tests/libxml_entity_loading_disabled_by_default.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ libxml_disable_entity_loader()
33
--EXTENSIONS--
44
libxml
55
dom
6+
simplexml
67
--FILE--
78
<?php
89

sapi/cgi/tests/005.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
using invalid combinations of cmdline options
3+
--SKIPIF--
4+
<?php include "skipif.inc"; ?>
35
--FILE--
46
<?php
57

0 commit comments

Comments
 (0)