com php-src: Check SKIP_SLOW_TESTS in issue0140 .phpt: ext/opcache/tests/issue0140.phpt
| From: | Nikita Popov | Date: | Sun, 05 Jun 2016 21:05:00 +0000 |
| Subject: | com php-src: Check SKIP_SLOW_TESTS in issue0140 .phpt: ext/opcache/tests/issue0140.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92314@lists.php.net to get a copy of this message | ||
Commit: 9fa1ab1b22aadbfae2419896ec8341debf63cfb0
Author: Nikita Popov <nikic@php.net> Sun, 5 Jun 2016 23:02:01 +0200
Parents: 7b4618e396917e3bd89e6a4d05402d3715dc701c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9fa1ab1b22aadbfae2419896ec8341debf63cfb0
Log:
Check SKIP_SLOW_TESTS in issue0140.phpt
This test contains two sleeps...
Changed paths:
M ext/opcache/tests/issue0140.phpt
Diff:
diff --git a/ext/opcache/tests/issue0140.phpt b/ext/opcache/tests/issue0140.phpt
index 98e0e45..97fc11b 100644
--- a/ext/opcache/tests/issue0140.phpt
+++ b/ext/opcache/tests/issue0140.phpt
@@ -8,6 +8,7 @@ opcache.file_update_protection=0
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php if (php_sapi_name() != "cli") die("skip CLI only"); ?>
+<?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow tests excluded by
request") ?>
--FILE--
<?php
define("FILENAME", dirname(__FILE__) . "/issuer0140.inc.php");