diff options
-rw-r--r-- | ext/date/tests/date_diff.phpt | 4 | ||||
-rw-r--r-- | ext/standard/tests/file/001.phpt | 1 | ||||
-rw-r--r-- | ext/standard/tests/file/005_variation.phpt | 3 | ||||
-rw-r--r-- | ext/standard/tests/file/fread_socket_variation1.phpt | 4 | ||||
-rw-r--r-- | ext/standard/tests/general_functions/proc_open02.phpt | 1 | ||||
-rw-r--r-- | ext/standard/tests/misc/time_nanosleep_basic.phpt | 4 | ||||
-rw-r--r-- | ext/standard/tests/strings/htmlentities_html4.phpt | 4 | ||||
-rw-r--r-- | tests/func/005a.phpt | 4 | ||||
-rw-r--r-- | tests/func/010.phpt | 4 |
9 files changed, 28 insertions, 1 deletions
diff --git a/ext/date/tests/date_diff.phpt b/ext/date/tests/date_diff.phpt index 31783a884d..e01a94e767 100644 --- a/ext/date/tests/date_diff.phpt +++ b/ext/date/tests/date_diff.phpt @@ -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-- diff --git a/ext/standard/tests/file/001.phpt b/ext/standard/tests/file/001.phpt index e3768b19dd..d604699ac4 100644 --- a/ext/standard/tests/file/001.phpt +++ b/ext/standard/tests/file/001.phpt @@ -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 diff --git a/ext/standard/tests/file/005_variation.phpt b/ext/standard/tests/file/005_variation.phpt index e46df865fc..7e5eedc2b1 100644 --- a/ext/standard/tests/file/005_variation.phpt +++ b/ext/standard/tests/file/005_variation.phpt @@ -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 diff --git a/ext/standard/tests/file/fread_socket_variation1.phpt b/ext/standard/tests/file/fread_socket_variation1.phpt index bd3d23ac57..50ee79bbf9 100644 --- a/ext/standard/tests/file/fread_socket_variation1.phpt +++ b/ext/standard/tests/file/fread_socket_variation1.phpt @@ -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 diff --git a/ext/standard/tests/general_functions/proc_open02.phpt b/ext/standard/tests/general_functions/proc_open02.phpt index 3cba15e9ad..3406f6806c 100644 --- a/ext/standard/tests/general_functions/proc_open02.phpt +++ b/ext/standard/tests/general_functions/proc_open02.phpt @@ -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 diff --git a/ext/standard/tests/misc/time_nanosleep_basic.phpt b/ext/standard/tests/misc/time_nanosleep_basic.phpt index 799c57209e..3f20b00f7a 100644 --- a/ext/standard/tests/misc/time_nanosleep_basic.phpt +++ b/ext/standard/tests/misc/time_nanosleep_basic.phpt @@ -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-- diff --git a/ext/standard/tests/strings/htmlentities_html4.phpt b/ext/standard/tests/strings/htmlentities_html4.phpt index 3f700e828a..d7bff707fd 100644 --- a/ext/standard/tests/strings/htmlentities_html4.phpt +++ b/ext/standard/tests/strings/htmlentities_html4.phpt @@ -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) { diff --git a/tests/func/005a.phpt b/tests/func/005a.phpt index f7843e10a3..3c2bcb1665 100644 --- a/tests/func/005a.phpt +++ b/tests/func/005a.phpt @@ -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 diff --git a/tests/func/010.phpt b/tests/func/010.phpt index 6778ed2f11..f970283dc4 100644 --- a/tests/func/010.phpt +++ b/tests/func/010.phpt @@ -1,5 +1,9 @@ --TEST-- function with many parameters +--SKIPIF-- +<?php +if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); +?> --FILE-- <?php |