[PATCH] make it possible to skip very slow tests

From: Date: Wed, 18 Jun 2008 20:37:08 +0000
Subject: [PATCH] make it possible to skip very slow tests
Groups: php.internals 
Request: Send a blank email to internals+get-38365@lists.php.net to get a copy of this message
Hi again, I'm using this locally because two of our tests take over 10 minutes each to run on my laptop, and I run the relevant bits of test suite every time I make a change. All it does is adds another option, -x, to run-tests.php. This sets an environmental variable which can then be checked for in the SKIPIF section of very slow-running tests. Any objections if I commit it in 5_3/HEAD? - Steph

Index: run-tests.php =================================================================== RCS file: /repository/php-src/run-tests.php,v retrieving revision 1.226.2.37.2.35.2.21 diff -u -r1.226.2.37.2.35.2.21 run-tests.php --- run-tests.php 26 May 2008 11:33:38 -0000 1.226.2.37.2.35.2.21 +++ run-tests.php 18 Jun 2008 20:34:54 -0000 @@ -429,6 +429,9 @@ $DETAILED = true; break; //case 'w' + case 'x': + $environment['EXEMPT_SLOW_TESTS'] = 1; + break; case '-': // repeat check with full switch $switch = $argv[$i];
« previous php.internals (#38365) next »