From: Eloy Lafuente Date: Tue, 12 Jan 2010 14:08:50 +0000 (+0000) Subject: MDL-21296 - Adding timing info to test in order to compare results ; merged from... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ecbeab1a953f8107dd3397078a6508881c1cfb1c;p=moodle.git MDL-21296 - Adding timing info to test in order to compare results ; merged from 19_STABLE --- diff --git a/lib/simpletest/testweblib.php b/lib/simpletest/testweblib.php index 6b342a63c4..1395d17693 100644 --- a/lib/simpletest/testweblib.php +++ b/lib/simpletest/testweblib.php @@ -303,7 +303,7 @@ END; $fast_enough = true; } - $this->assertEqual($fast_enough, true, 'Timing test:'); + $this->assertEqual($fast_enough, true, 'Timing test: ' . $new_time . 'secs (new) < ' . $old_time . 'secs (old)'); } }