Browse Source

These are annoyingly slow

pull/12/head
Hannes Magnusson 15 years ago
parent
commit
71a5c3d7ec
  1. 4
      ext/date/tests/date_diff.phpt
  2. 1
      ext/standard/tests/file/001.phpt
  3. 3
      ext/standard/tests/file/005_variation.phpt
  4. 4
      ext/standard/tests/file/fread_socket_variation1.phpt
  5. 1
      ext/standard/tests/general_functions/proc_open02.phpt
  6. 4
      ext/standard/tests/misc/time_nanosleep_basic.phpt
  7. 4
      ext/standard/tests/strings/htmlentities_html4.phpt
  8. 4
      tests/func/005a.phpt
  9. 4
      tests/func/010.phpt

4
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--

1
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

3
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

4
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

1
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

4
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--

4
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) {

4
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

4
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

Loading…
Cancel
Save