summaryrefslogtreecommitdiff
path: root/tests/test_tools/phpunit_bootstrap.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-10-03 22:34:01 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-10-03 22:34:01 +0200
commit6fcd753837c1cd198efb7940673e79465d583bab (patch)
tree7a0b97c5ef43eed8a3de2d7ecbbd85338eaae245 /tests/test_tools/phpunit_bootstrap.php
parentb6ba3bb4b336058b6db500799b16dc016c74aed7 (diff)
Raise memory limit for coverage tests
Diffstat (limited to 'tests/test_tools/phpunit_bootstrap.php')
-rw-r--r--tests/test_tools/phpunit_bootstrap.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_tools/phpunit_bootstrap.php b/tests/test_tools/phpunit_bootstrap.php
index dc2ce948..1154e5fc 100644
--- a/tests/test_tools/phpunit_bootstrap.php
+++ b/tests/test_tools/phpunit_bootstrap.php
@@ -10,6 +10,8 @@ define('PRADO_TEST_RUN', true);
define('PRADO_FRAMEWORK_DIR', dirname(__FILE__).'/../../framework');
define('VENDOR_DIR', dirname(__FILE__).'/../../vendor');
set_include_path(PRADO_FRAMEWORK_DIR.PATH_SEPARATOR.get_include_path());
+// coverage tests waste a lot of memory!
+ini_set('memory_limit', '1G');
if (!@include_once VENDOR_DIR.'/autoload.php') {
die('You must set up the project dependencies, run the following commands: