]> granicus.if.org Git - php/commitdiff
These are annoyingly slow
authorHannes Magnusson <bjori@php.net>
Thu, 23 Jun 2011 21:27:42 +0000 (21:27 +0000)
committerHannes Magnusson <bjori@php.net>
Thu, 23 Jun 2011 21:27:42 +0000 (21:27 +0000)
ext/date/tests/date_diff.phpt
ext/standard/tests/file/001.phpt
ext/standard/tests/file/005_variation.phpt
ext/standard/tests/file/fread_socket_variation1.phpt
ext/standard/tests/general_functions/proc_open02.phpt
ext/standard/tests/misc/time_nanosleep_basic.phpt
ext/standard/tests/strings/htmlentities_html4.phpt
tests/func/005a.phpt
tests/func/010.phpt

index 31783a884dea7c074c753ccc9f5aa3ea2fa25009..e01a94e7679101c91f6e5c56d02cc801ecbf32d6 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Extensive test for date_diff().
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --INI--
 date.timezone=UTC
 --FILE--
index e3768b19dd79c7c871a172d20581be3f4ea6cfdf..d604699ac4f0901c0c29e1478015cc05466d050f 100644 (file)
@@ -5,6 +5,7 @@ File type functions
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip no symlinks on Windows');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 ?>
 --FILE--
 <?php
index e46df865fce9b99462cdee67bf16eb5317653fe8..7e5eedc2b16cfad956da286e3b6ed7b2f25c7553 100644 (file)
@@ -5,6 +5,9 @@ Test fileatime(), filemtime(), filectime() & touch() functions : usage variation
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip Do not run on Windows');
 }
+if (getenv("SKIP_SLOW_TESTS")) {
+    die("skip slow test");
+}
 ?>
 --FILE--
 <?php
index bd3d23ac574b2dbba73be087167347f50008745c..50ee79bbf9ff3fd4d6b8da41b0da1c31ad0ad229 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Testing fread() on a TCP server socket
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php
 
index 3cba15e9ad6d1bf8ca1c83d9159241ec779f61b1..3406f6806c58cebe47fece8d5b04ed45e396e3f5 100644 (file)
@@ -4,6 +4,7 @@ proc_open
 <?php
 if (!is_executable('/bin/sleep')) echo 'skip no sleep';
 if (!is_executable('/usr/bin/nohup')) echo 'skip no nohup';
+if (getenv('SKIP_SLOW_TESTS')) echo 'skip slow test';
 ?>
 --FILE--
 <?php
index 799c57209e4dbedb091e915f78b3b71d5bceaf1a..3f20b00f7aa29cdeea2e24b8fff5c12957ebad06 100644 (file)
@@ -1,7 +1,9 @@
 --TEST--
 time_nanosleep — Delay for a number of seconds and nanoseconds
 --SKIPIF--
-<?php if (!function_exists('time_nanosleep')) die("skip"); ?>
+<?php if (!function_exists('time_nanosleep')) die("skip");
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --CREDITS--
 Àlex Corretgé - alex@corretge.cat
 --FILE--
index 3f700e828a440e3fa41f6c8337eb74186e212991..d7bff707fdb45051cc699f2173289f1f195f4986 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 htmlentities() conformance check (HTML 4)
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php
 function utf32_utf8($k) {
index f7843e10a329b88cd921a4d41c3a29800fd6b781..3c2bcb16650fcc8cf20bb9117c3183d410103bf9 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Testing register_shutdown_function() with timeout. (Bug: #21513)
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php
 
index 6778ed2f11f1e3546c09def549d2e9c923ef2003..f970283dc4723856f1b102c305243808ae01c9cd 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 function with many parameters
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php