Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

These are annoyingly slow

  • Loading branch information...
commit 9f8501b3b7ee90274cf2ecd2e262e6314542ff5f 1 parent cc43888
Hannes Magnusson bjori authored
4 ext/date/tests/date_diff.phpt
View
@@ -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--
1  ext/standard/tests/file/001.phpt
View
@@ -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
3  ext/standard/tests/file/005_variation.phpt
View
@@ -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
4 ext/standard/tests/file/fread_socket_variation1.phpt
View
@@ -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
1  ext/standard/tests/general_functions/proc_open02.phpt
View
@@ -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
4 ext/standard/tests/misc/time_nanosleep_basic.phpt
View
@@ -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--
4 ext/standard/tests/strings/htmlentities_html4.phpt
View
@@ -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) {
4 tests/func/005a.phpt
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
4 tests/func/010.phpt
View
@@ -1,5 +1,9 @@
--TEST--
function with many parameters
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
--FILE--
<?php
Please sign in to comment.
Something went wrong with that request. Please try again.