diff options
author | Steph Fox <sfox@php.net> | 2008-06-19 21:03:36 +0000 |
---|---|---|
committer | Steph Fox <sfox@php.net> | 2008-06-19 21:03:36 +0000 |
commit | 9f445427417d1e0881097739d46ef7d84a875f5b (patch) | |
tree | 238aedf868c6aeee3c2ccf5d218bf069d67bd75a /run-tests.php | |
parent | 31d0d253a8bde0613ccffca9fa2d5328c913ef12 (diff) | |
download | php-git-9f445427417d1e0881097739d46ef7d84a875f5b.tar.gz |
Two new options for Travis to come to terms with:
- --set-timeout <n> sets the timeout in seconds for the call to stream_select() during system_with_timeout()
- -x sets an environmental variable, SKIP_SLOW_TESTS, which can be checked for during a SKIPIF clause
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index c6bd7bf958..8962c1f566 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1,5 +1,6 @@ #!/usr/bin/php <?php +putenv('TEST_PHP_EXECUTABLE=C:/sandbox/php5/Debug_TS/php.exe'); /* +----------------------------------------------------------------------+ | PHP Version 5 | @@ -869,7 +870,7 @@ function mail_qa_team($data, $compression, $status = FALSE) function save_text($filename, $text, $filename_copy = null) { global $DETAILED; - +file_put_contents('steph.test.again.php', $text); if ($filename_copy && $filename_copy != $filename) { if (@file_put_contents($filename_copy, $text) === false) { error("Cannot open file '" . $filename_copy . "' (save_text)"); |