bjori                                    Thu, 23 Jun 2011 21:27:42 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312415

Log:
These are annoyingly slow

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/date/tests/date_diff.phpt
    U   php/php-src/branches/PHP_5_3/ext/standard/tests/file/001.phpt
    U   php/php-src/branches/PHP_5_3/ext/standard/tests/file/005_variation.phpt
    U   
php/php-src/branches/PHP_5_3/ext/standard/tests/file/fread_socket_variation1.phpt
    U   
php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_open02.phpt
    U   
php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_basic.phpt
    U   
php/php-src/branches/PHP_5_3/ext/standard/tests/strings/htmlentities_html4.phpt
    U   php/php-src/branches/PHP_5_3/tests/func/005a.phpt
    U   php/php-src/branches/PHP_5_3/tests/func/010.phpt
    U   php/php-src/branches/PHP_5_4/ext/date/tests/date_diff.phpt
    U   php/php-src/branches/PHP_5_4/ext/standard/tests/file/001.phpt
    U   php/php-src/branches/PHP_5_4/ext/standard/tests/file/005_variation.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/file/fread_socket_variation1.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/general_functions/proc_open02.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/misc/time_nanosleep_basic.phpt
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities_html4.phpt
    U   php/php-src/branches/PHP_5_4/tests/func/005a.phpt
    U   php/php-src/branches/PHP_5_4/tests/func/010.phpt
    U   php/php-src/trunk/ext/date/tests/date_diff.phpt
    U   php/php-src/trunk/ext/standard/tests/file/001.phpt
    U   php/php-src/trunk/ext/standard/tests/file/005_variation.phpt
    U   php/php-src/trunk/ext/standard/tests/file/fread_socket_variation1.phpt
    U   php/php-src/trunk/ext/standard/tests/general_functions/proc_open02.phpt
    U   php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_basic.phpt
    U   php/php-src/trunk/ext/standard/tests/strings/htmlentities_html4.phpt
    U   php/php-src/trunk/tests/func/005a.phpt
    U   php/php-src/trunk/tests/func/010.phpt

Modified: php/php-src/branches/PHP_5_3/ext/date/tests/date_diff.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/tests/date_diff.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/date/tests/date_diff.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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--

Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/001.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/file/001.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/001.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -5,6 +5,7 @@
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip no symlinks on Windows');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 ?>
 --FILE--
 <?php

Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/005_variation.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/file/005_variation.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/005_variation.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -5,6 +5,9 @@
 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

Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/fread_socket_variation1.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/file/fread_socket_variation1.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/fread_socket_variation1.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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


Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_open02.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_open02.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/general_functions/proc_open02.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -4,6 +4,7 @@
 <?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

Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_basic.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_basic.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/misc/time_nanosleep_basic.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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é - a...@corretge.cat
 --FILE--

Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/strings/htmlentities_html4.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/strings/htmlentities_html4.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/strings/htmlentities_html4.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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) {

Modified: php/php-src/branches/PHP_5_3/tests/func/005a.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/tests/func/005a.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/tests/func/005a.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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


Modified: php/php-src/branches/PHP_5_3/tests/func/010.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/tests/func/010.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_3/tests/func/010.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -1,5 +1,9 @@
 --TEST--
 function with many parameters
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php


Modified: php/php-src/branches/PHP_5_4/ext/date/tests/date_diff.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/date/tests/date_diff.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/date/tests/date_diff.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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--

Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/001.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/file/001.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/001.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -5,6 +5,7 @@
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip no symlinks on Windows');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 ?>
 --FILE--
 <?php

Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/005_variation.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/file/005_variation.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/005_variation.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -5,6 +5,9 @@
 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

Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/fread_socket_variation1.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/file/fread_socket_variation1.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/fread_socket_variation1.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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


Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/general_functions/proc_open02.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/general_functions/proc_open02.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/general_functions/proc_open02.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -4,6 +4,7 @@
 <?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

Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/misc/time_nanosleep_basic.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/misc/time_nanosleep_basic.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/misc/time_nanosleep_basic.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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é - a...@corretge.cat
 --FILE--

Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities_html4.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities_html4.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/strings/htmlentities_html4.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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) {

Modified: php/php-src/branches/PHP_5_4/tests/func/005a.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/func/005a.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/tests/func/005a.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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


Modified: php/php-src/branches/PHP_5_4/tests/func/010.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/func/010.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/branches/PHP_5_4/tests/func/010.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -1,5 +1,9 @@
 --TEST--
 function with many parameters
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php


Modified: php/php-src/trunk/ext/date/tests/date_diff.phpt
===================================================================
--- php/php-src/trunk/ext/date/tests/date_diff.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/date/tests/date_diff.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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--

Modified: php/php-src/trunk/ext/standard/tests/file/001.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/001.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/standard/tests/file/001.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -5,6 +5,7 @@
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip no symlinks on Windows');
 }
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
 ?>
 --FILE--
 <?php

Modified: php/php-src/trunk/ext/standard/tests/file/005_variation.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/005_variation.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/standard/tests/file/005_variation.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -5,6 +5,9 @@
 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

Modified: php/php-src/trunk/ext/standard/tests/file/fread_socket_variation1.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/fread_socket_variation1.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/standard/tests/file/fread_socket_variation1.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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


Modified: php/php-src/trunk/ext/standard/tests/general_functions/proc_open02.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/general_functions/proc_open02.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/standard/tests/general_functions/proc_open02.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -4,6 +4,7 @@
 <?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

Modified: php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_basic.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_basic.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/standard/tests/misc/time_nanosleep_basic.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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é - a...@corretge.cat
 --FILE--

Modified: php/php-src/trunk/ext/standard/tests/strings/htmlentities_html4.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/htmlentities_html4.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/ext/standard/tests/strings/htmlentities_html4.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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) {

Modified: php/php-src/trunk/tests/func/005a.phpt
===================================================================
--- php/php-src/trunk/tests/func/005a.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/tests/func/005a.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -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


Modified: php/php-src/trunk/tests/func/010.phpt
===================================================================
--- php/php-src/trunk/tests/func/010.phpt	2011-06-23 20:43:19 UTC (rev 312414)
+++ php/php-src/trunk/tests/func/010.phpt	2011-06-23 21:27:42 UTC (rev 312415)
@@ -1,5 +1,9 @@
 --TEST--
 function with many parameters
+--SKIPIF--
+<?php
+if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
+?>
 --FILE--
 <?php

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to