MDL-37783 add some useful information to any phpunit output

This commit is contained in:
Petr Škoda
2013-03-23 00:06:39 +01:00
parent 373a8e052c
commit 15bac12e9d
2 changed files with 68 additions and 0 deletions
+2
View File
@@ -212,6 +212,8 @@ if (PHPUNIT_UTIL) {
// is database and dataroot ready for testing?
list($errorcode, $message) = phpunit_util::testing_ready_problem();
// print some version info
phpunit_util::bootstrap_moodle_info();
if ($errorcode) {
phpunit_bootstrap_error($errorcode, $message);
}