0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 14:01:53 +00:00

skip time/memory limit tests on SKIP_SLOW_TESTS

This commit is contained in:
Stefan Siegl 2016-03-26 11:47:58 +01:00
parent 2b4d41abb1
commit 3d5f163899
10 changed files with 70 additions and 10 deletions

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::executeString() : Memory limit Test V8::executeString() : Memory limit
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php
$JS = <<< EOT $JS = <<< EOT

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setMemoryLimit() : Memory limit applied to V8Function calls Test V8::setMemoryLimit() : Memory limit applied to V8Function calls
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setMemoryLimit() : Memory limit can be imposed later Test V8::setMemoryLimit() : Memory limit can be imposed later
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setMemoryLimit() : Memory limit can be set on V8Js object Test V8::setMemoryLimit() : Memory limit can be set on V8Js object
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php
$JS = <<< EOT $JS = <<< EOT

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setTimeLimit() : Time limit applied to V8Function calls Test V8::setTimeLimit() : Time limit applied to V8Function calls
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setTimeLimit() : Time limit can be changed Test V8::setTimeLimit() : Time limit can be changed
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setTimeLimit() : Time limit can be imposed later on Test V8::setTimeLimit() : Time limit can be imposed later on
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setTimeLimit() : Time limit can be prolonged Test V8::setTimeLimit() : Time limit can be prolonged
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::setTimeLimit() : Time limit can be set on V8Js object Test V8::setTimeLimit() : Time limit can be set on V8Js object
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php

View File

@ -1,7 +1,13 @@
--TEST-- --TEST--
Test V8::executeString() : Time limit Test V8::executeString() : Time limit
--SKIPIF-- --SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> <?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (getenv("SKIP_SLOW_TESTS")) {
die("skip slow test");
}
?>
--FILE-- --FILE--
<?php <?php