]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21007 exclude log files from tests as far as some drivers/extensions
authorEloy Lafuente <stronk7@moodle.org>
Mon, 30 Nov 2009 16:24:44 +0000 (16:24 +0000)
committerEloy Lafuente <stronk7@moodle.org>
Mon, 30 Nov 2009 16:24:44 +0000 (16:24 +0000)
are prone to save own log files into working dirs

lib/simpletest/testcode.php

index 0c458fab058e27ecd74ccafb19f37ad29b905481..492ec4bd902b4aca6f57354f58fbd179d74f73f3 100644 (file)
@@ -16,7 +16,7 @@ class code_test extends UnitTestCase {
     var $allok = array();
 
     var $badstrings;
-    var $extensions_to_ignore = array('exe', 'gif', 'ico', 'jpg', 'png', 'ttf');
+    var $extensions_to_ignore = array('exe', 'gif', 'ico', 'jpg', 'png', 'ttf', 'log');
     var $ignore_folders = array();
 
     function test_dnc() {