MDL-32651 increase memory limit to 2G when running phpunit tests

This should help when running tests with coverage reports.
This commit is contained in:
Petr Skoda 2012-04-26 20:36:37 +02:00
parent aa753ac24f
commit 32962961a8

View File

@ -196,7 +196,7 @@ require_once("$CFG->dirroot/lib/phpunit/lib.php");
define('ABORT_AFTER_CONFIG_CANCEL', true);
require("$CFG->dirroot/lib/setup.php");
raise_memory_limit(MEMORY_EXTRA);
raise_memory_limit(MEMORY_HUGE);
if (PHPUNIT_UTIL) {
// we are not going to do testing, this is 'true' in utility scripts that only init database