0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-16 18:05:18 +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 V8::executeString() : Memory limit
--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--
<?php
$JS = <<< EOT

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setMemoryLimit() : Memory limit applied to V8Function calls
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setMemoryLimit() : Memory limit can be imposed later
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setMemoryLimit() : Memory limit can be set on V8Js object
--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--
<?php
$JS = <<< EOT

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setTimeLimit() : Time limit applied to V8Function calls
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setTimeLimit() : Time limit can be changed
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setTimeLimit() : Time limit can be imposed later on
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setTimeLimit() : Time limit can be prolonged
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::setTimeLimit() : Time limit can be set on V8Js object
--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--
<?php

View File

@ -1,7 +1,13 @@
--TEST--
Test V8::executeString() : Time limit
--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--
<?php