]> granicus.if.org Git - php/commitdiff
Check SKIP_SLOW_TESTS in issue0140.phpt
authorNikita Popov <nikic@php.net>
Sun, 5 Jun 2016 21:02:01 +0000 (23:02 +0200)
committerNikita Popov <nikic@php.net>
Sun, 5 Jun 2016 21:05:00 +0000 (23:05 +0200)
This test contains two sleeps...

ext/opcache/tests/issue0140.phpt

index 98e0e45cc25dd2cd87ebc223c8ce6892653c7009..97fc11b3c7ef26cbe5b1e8ff6a3e6ecb4638048c 100644 (file)
@@ -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");