]> granicus.if.org Git - php/commitdiff
- Add missing skipif
authorMarcus Boerger <helly@php.net>
Wed, 21 Dec 2005 22:21:54 +0000 (22:21 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 21 Dec 2005 22:21:54 +0000 (22:21 +0000)
43 files changed:
ext/spl/tests/array_015.phpt
ext/spl/tests/bug31185.phpt
ext/spl/tests/bug31346.phpt
ext/spl/tests/bug31348.phpt
ext/spl/tests/bug31926.phpt
ext/spl/tests/bug32134.phpt
ext/spl/tests/bug32394.phpt
ext/spl/tests/bug33136.phpt
ext/spl/tests/bug34548.phpt
ext/spl/tests/fileobject_001.phpt
ext/spl/tests/fileobject_002.phpt
ext/spl/tests/iterator_010.phpt
ext/spl/tests/iterator_011.phpt
ext/spl/tests/iterator_012.phpt
ext/spl/tests/iterator_013.phpt
ext/spl/tests/iterator_014.phpt
ext/spl/tests/iterator_015.phpt
ext/spl/tests/iterator_016.phpt
ext/spl/tests/iterator_017.phpt
ext/spl/tests/iterator_018.phpt
ext/spl/tests/iterator_019.phpt
ext/spl/tests/iterator_020.phpt
ext/spl/tests/iterator_021.phpt
ext/spl/tests/iterator_022.phpt
ext/spl/tests/iterator_023.phpt
ext/spl/tests/iterator_024.phpt
ext/spl/tests/iterator_025.phpt
ext/spl/tests/iterator_026.phpt
ext/spl/tests/iterator_027.phpt
ext/spl/tests/iterator_028.phpt
ext/spl/tests/iterator_029.phpt
ext/spl/tests/observer_001.phpt
ext/spl/tests/observer_002.phpt
ext/spl/tests/spl_001.phpt
ext/spl/tests/spl_002.phpt
ext/spl/tests/spl_003.phpt
ext/spl/tests/spl_autoload_001.phpt
ext/spl/tests/spl_autoload_002.phpt
ext/spl/tests/spl_autoload_003.phpt
ext/spl/tests/spl_autoload_004.phpt
ext/spl/tests/spl_autoload_005.phpt
ext/spl/tests/spl_autoload_006.phpt
ext/spl/tests/spl_autoload_007.phpt

index 0a82fc7a5d037a2fa21d925bf8987445ed73fd28..79d6a867f0fb10c3616bbb68dbc4fefef6e6cf2b 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: ArrayIterator::next() with internal arrays
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index aa410ebaae23c97bfcffd263d0a073dd7c9cfb72..5d93381d4e40bf051b9884854943461a8a7093ce 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #31185 (Crash when exceptions thrown from ArrayAccess::offsetUnset())
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 9b5618ec0eeadbd8b6e005ceeffe6421df042fc5..ed1b50d685a45afb6049281eb23b11ad032782bd 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #31486 (ArrayIterator::next segfaults)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 $obj = new stdClass;
index 047e4b223ac250970083bb3d09258eb7574fd2b0..dcb627af2297176c63455088b1b1f9e85634b597 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #31348 (CachingIterator::rewind() leaks)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 $a = Array("some","blah");
index bcc9ed3d2c9d421ae91d770a44280df5bc3c3f90..176370b877ab4de0adabeb36e5a577a0a8a83f13 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #31926 (php in free() error with RecursiveArrayIterator)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 84001984ac198d26c617cc9a1f0d8ea2cf3a8a72..806f78aeedb2e51d0b429bb4d53f1e1a8caf9cd8 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #32134 (Overloading offsetGet/offsetSet)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
        
index 8189b23f7a97d003df0a131e3c5eecd53ba9f14a..ac72e0fa163ca46b4841eaeae5d7059f89e34063 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #32394 (offsetUnset() segfaults in a foreach)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index bb2e335a7cadc09698fa38397ff07bfe0b9ee9f4..f0fe8d41a0a8bc184230186905d0ce6da5a15980 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 Bug #33136 method offsetSet in class extended from ArrayObject crash PHP 
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index dff1375ab0d60d8666b3a6deb6b16d6d45e286a1..90f2e8f6e3525e1afbc33ca908c212a47b735d63 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 bug #34548 (Method append() in class extended from ArrayObject crashes PHP)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 61f688d79f0d73aab77a8ac8d45fc4df1784fc5e..957223b169e79351a87d954938a468212c08ef5c 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: SplFileObject::seek'ing
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 8031e98fdcc9b34545d804637f6bed086b692314..0b944f2a7c3e8756b4a1bba260fb9bd214cfa365 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: SplFileObject::fgetc
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 39d1000f62d6317533a38696906c3b622c06045e..e7e1a519b636c7f6659a27cd7e9bbe3c39d39d8f 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: EmptyIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index fca159a20f6359699c111ef5407e21a5f6e50fdd..aed1ed5e3e70131a7415136f9b2b83ce3af369fc 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: InfiniteIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 09842b0988e6672717cb31c045fb8a8d25028f8e..8195072b5c4e0a8518655d3334c396473dd7d586 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: NoRweindIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 119631c00038a07e7b31b61a97f02bbaf2af7dea..56aea98504dd1aedf23b95f5c715790a3547c365 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: AppendIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 119fad05fbad25bbfc73c4536554ffe6b5bda3d7..8f9020bf81b6eb7db22520bdebcf96dadb7769c2 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and beginChildren/endChildren
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index aa30f79e1f675514f01b7b9e17cca83ab593f64b..57b9899e6c2a6cd8765845a4a6aae95050f18e75 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and beginChildren/endChildren
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index f231c6eb347e2f9675877438a036bffdf8630ee9..4801835a1bb12fb6242857faaf8e63342f8bc972 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and beginChildren/endChildren
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 39d1000f62d6317533a38696906c3b622c06045e..e7e1a519b636c7f6659a27cd7e9bbe3c39d39d8f 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: EmptyIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 9c234bb11d2a1829814a1d412e1a0b928c7c75ad..3cb68eeea87253477633487e3671a15602fc290f 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: InfiniteIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 09842b0988e6672717cb31c045fb8a8d25028f8e..8195072b5c4e0a8518655d3334c396473dd7d586 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: NoRweindIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 119631c00038a07e7b31b61a97f02bbaf2af7dea..56aea98504dd1aedf23b95f5c715790a3547c365 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: AppendIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 4f2395a8e591681f61d5bec666bd638b57af3e7c..1dbd245bc8af8d41b262fb0a8a54c24fadf12177 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and hasChildren
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 8d055313ace5c0af88d1990b58ce1e05f8943471..1f1e6e951a5b9f4679e48700161cae69d56aefea 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and callHasChildren/callGetChildren
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 1b6b4685ec112775bb6510dca808ffec45d5915c..00b831e11617355336d2a07c9681f4256db52fd6 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and catch getChildren
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index cecf08e7a3e65d20d6fa7273aa7b917602717307..414b1de552324fe538779b7f5cf50ce1de14ea56 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator with custom iterator class
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index e582b1f39e8898e29bec7067bbc463df005b3b54..737b8f6664c02119603be0778dcdadca3257a49a 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and begin/endIteration()
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 8df96f0d2cb9d3cc536a552b9364b83ba16c7fb1..4c6fcf73b565beaf199e9a98746f9a66861fcf00 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: CachingIterator::hasNext()
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 3c2f72238522f61fb86821f92846191899ec97d9..633c8fb0ab384bc585efcf6a0f31f78f944d8be5 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: CachingIterator::FULL_CACHE
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 7ec76d814410a9ee3c13b7f4c83438464872f5d7..13e483092e119b126c7265fcba29a4b22e70eb8a 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RecursiveIteratorIterator and setMaxDepth()
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index b853f830e4853106a8f43c717cd70db2f102f486..6ca53eff15ed25256461bde6221ca5ca41dde1d1 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: RegExIterator
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index e7d72b9e2409cca85088816e969f3cee2273fc9e..d161a477674b467232ae663d0e6b1cdf7bda4d9e 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: SplObserver and SplSubject (empty notify)
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 5d006177f2e343dee638a371fb9d65f7ab47eb91..7bcd9dc2ebfecdb7a859ab00abe692af5e6b551c 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: SplObjectStorage
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index e101272a84dad9e8e7945330e6503e41d08d96b8..8d637a1a66bb3f315b7a87159d397d3b1dddf656 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: iterator_to_array() and iterator_count()
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index d8b71b20cfd08bf18a34cb529b18caa35acff8af..fbc33f0a9cc6b169cb54f7bf3c04fe1bff46e960 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: Countable
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 
index 141138861290971920a872fdb9eb9fcd47896f0d..566a9cc274ba348fbe86185a27cf95b3966add8f 100755 (executable)
@@ -2,6 +2,8 @@
 SPL: class_parents() and class_implements()
 --SKIPIF--
 <?php if (!extension_loaded("spl")) print "skip"; ?>
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --FILE--
 <?php
 class a{}
index da97ace27ed08c3d378759c9863cc5a55918a330..f78e31ab402e4e6fd457e2fefc7358b7f930057e 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: spl_autoload() and friends
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --INI--
 include_path=.
 --FILE--
index 1bc45ec8089ce11ad4e60fec747582f53f19d239..81d033422a8ba07808f416ffd9ec9ecde084c124 100755 (executable)
@@ -1,6 +1,8 @@
 --TEST--
 SPL: spl_autoloadfunctions()
 --SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
+--SKIPIF--
 <?php if (spl_autoload_functions() !== false) die('skip __autoload() registered by php.ini'); ?>
 --FILE--
 <?php
index 00fdd2734f4b34d8a98cca003a96a8ebfe60cf16..1344b39204e14085fedc2ad79d713fd396d3a77d 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: spl_autoload() and friends
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --INI--
 include_path=.
 --FILE--
index d995961d7a1abfb10447afd94b3beca0fa21d00a..6afc88785714cd21ab38f760de58245fad50bc34 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: spl_autoload() with static methods
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --INI--
 include_path=.
 --FILE--
index 925771c82cc505d469b61c07a6df3dc4b6a659b8..1f946d9794c305364dd8a27e4bf828cbf1430c03 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: spl_autoload() with methods
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --INI--
 include_path=.
 --FILE--
index 7cd576f352a47f5b318bae2f5a203bb849bec0ab..007235843abb4131f20cddc60dcf571d04b31748 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: spl_autoload() with static methods
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --INI--
 include_path=.
 --FILE--
index 40b4b61cbd6bf0a471a62459fd40ddbe038a226b..66c9c5d83b4715ac1d54a96d4775daae3f3625a4 100755 (executable)
@@ -1,5 +1,7 @@
 --TEST--
 SPL: spl_autoload() with inaccessible methods
+--SKIPIF--
+<?php if (!extension_loaded("spl")) print "skip"; ?>
 --INI--
 include_path=.
 --FILE--