Skip to content

Migrate skip checks to --EXTENSIONS--, p4 #6839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions ext/simplexml/tests/000.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: var_dump()
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/001-mb.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Simple document
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/001.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Simple document
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/002.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: clone
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/003.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Entities
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/004.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: CDATA
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/005.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Text data
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/006.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: foreach
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/007.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Attributes
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/008.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: XPath
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/009.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: foreach
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$sxe = simplexml_load_string(<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/009b.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: foreach
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$sxe = simplexml_load_string(<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/010.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Simple Inheritance
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
6 changes: 2 additions & 4 deletions ext/simplexml/tests/011.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
SimpleXML: echo/print
--SKIPIF--
<?php
if (!extension_loaded('simplexml')) print 'skip';
?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
6 changes: 2 additions & 4 deletions ext/simplexml/tests/012.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
SimpleXML: Attribute creation
--SKIPIF--
<?php
if (!extension_loaded('simplexml')) print 'skip';
?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
6 changes: 2 additions & 4 deletions ext/simplexml/tests/013.phpt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
--TEST--
SimpleXML: Split text content
--SKIPIF--
<?php
if (!extension_loaded('simplexml')) print 'skip';
?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/014.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: adding/removing attributes (direct)
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/014a.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: adding/removing attributes (single)
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/014b.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: adding/removing attributes (second)
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/015.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: accessing singular subnode as array
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/016.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: modifying attributes of singular subnode
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/016a.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: concatenating attributes
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/017.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: iteration through subnodes
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/018.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: iteration through subnodes and attributes
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/019.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: foreach with children()
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/020.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Attribute compared to string
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/021.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Element check
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/022.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Attributes inside foreach
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/023.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Attributes with entities
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/024.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: XPath and attributes
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/025.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: getting namespaces
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/026.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: getName()
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/027.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Adding an elements
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/028.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: Adding an elements without text
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/029.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: foreach and count
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/030.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: isset and unset by offset
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/031.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: addChild and addAttribute
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/032.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: comparing instances
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php
$xml =<<<EOF
Expand Down
4 changes: 2 additions & 2 deletions ext/simplexml/tests/033.phpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--TEST--
SimpleXML: casting instances
--SKIPIF--
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
--EXTENSIONS--
simplexml
--FILE--
<?php

Expand Down
Loading