]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21296 - Adding timing info to test in order to compare results ; merged from...
authorEloy Lafuente <stronk7@moodle.org>
Tue, 12 Jan 2010 14:08:50 +0000 (14:08 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Tue, 12 Jan 2010 14:08:50 +0000 (14:08 +0000)
lib/simpletest/testweblib.php

index 6b342a63c48782eeed1582e211e791cbd2488bbc..1395d1769373c28fd43f73b44934865a7c2d3140 100644 (file)
@@ -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)');
     }
 }