]> git.mjollnir.org Git - moodle.git/commitdiff
unit tests: raise_memeory_limit. I was running out when running all tests.
authortjhunt <tjhunt>
Tue, 23 Jun 2009 10:33:58 +0000 (10:33 +0000)
committertjhunt <tjhunt>
Tue, 23 Jun 2009 10:33:58 +0000 (10:33 +0000)
admin/report/unittest/index.php

index aaa76e377b72d6239cbe1b25547cb900ef783623..671e2116ab9a5c343fdb55a0a8ce99e33f660c0d 100644 (file)
@@ -19,6 +19,7 @@ require_once('ex_reporter.php');
 // Always run the unit tests in developer debug mode.
 $CFG->debug = DEBUG_DEVELOPER;
 error_reporting($CFG->debug);
+raise_memory_limit('256M');
 
 // page parameters
 $path                    = optional_param('path', null, PARAM_PATH);