Permalink
Browse files

These are annoyingly slow

  • Loading branch information...
1 parent cc43888 commit 9f8501b3b7ee90274cf2ecd2e262e6314542ff5f @bjori bjori committed Jun 23, 2011
@@ -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--
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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--
@@ -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) {
View
@@ -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
View
@@ -1,5 +1,9 @@
--TEST--
function with many parameters
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
--FILE--
<?php

0 comments on commit 9f8501b

Please sign in to comment.