Skip to content

Commit 7f2f0c0

Browse files
MaxSemnikic
authored andcommitted
Migrate skip checks to --EXTENSIONS--, p4
For rationale, see #6787 Extensions migrated in part 4: * simplexml * skeleton * soap * spl * sqlite3 * sysvmsg * sysvsem * tidy - also removed a check for an ancient dependency version
1 parent 4034d83 commit 7f2f0c0

File tree

802 files changed

+1686
-1740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

802 files changed

+1686
-1740
lines changed

ext/simplexml/tests/000.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: var_dump()
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/001-mb.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Simple document
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/001.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Simple document
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/002.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: clone
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/003.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Entities
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/004.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: CDATA
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/005.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Text data
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/006.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: foreach
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/007.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Attributes
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/008.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: XPath
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/009.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: foreach
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$sxe = simplexml_load_string(<<<EOF

ext/simplexml/tests/009b.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: foreach
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$sxe = simplexml_load_string(<<<EOF

ext/simplexml/tests/010.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Simple Inheritance
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/011.phpt

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
SimpleXML: echo/print
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('simplexml')) print 'skip';
6-
?>
3+
--EXTENSIONS--
4+
simplexml
75
--FILE--
86
<?php
97

ext/simplexml/tests/012.phpt

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
SimpleXML: Attribute creation
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('simplexml')) print 'skip';
6-
?>
3+
--EXTENSIONS--
4+
simplexml
75
--FILE--
86
<?php
97

ext/simplexml/tests/013.phpt

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
--TEST--
22
SimpleXML: Split text content
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded('simplexml')) print 'skip';
6-
?>
3+
--EXTENSIONS--
4+
simplexml
75
--FILE--
86
<?php
97

ext/simplexml/tests/014.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: adding/removing attributes (direct)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/014a.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: adding/removing attributes (single)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/014b.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: adding/removing attributes (second)
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/015.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: accessing singular subnode as array
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/016.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: modifying attributes of singular subnode
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/016a.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: concatenating attributes
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/017.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: iteration through subnodes
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/018.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: iteration through subnodes and attributes
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/019.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: foreach with children()
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/020.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Attribute compared to string
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/021.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Element check
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/022.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Attributes inside foreach
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/023.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Attributes with entities
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/024.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: XPath and attributes
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/025.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: getting namespaces
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

ext/simplexml/tests/026.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: getName()
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/027.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Adding an elements
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/028.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: Adding an elements without text
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/029.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: foreach and count
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/030.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: isset and unset by offset
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/031.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: addChild and addAttribute
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/032.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: comparing instances
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77
$xml =<<<EOF

ext/simplexml/tests/033.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
SimpleXML: casting instances
3-
--SKIPIF--
4-
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
3+
--EXTENSIONS--
4+
simplexml
55
--FILE--
66
<?php
77

0 commit comments

Comments
 (0)