summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 18f0b0390..53a6db809 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -121,6 +121,9 @@ function simpletest_run_tests($test_list, $reporter = 'drupal') {
$test_id = db_insert('simpletest_test_id')
->useDefaults(array('test_id'))
->execute();
+
+ // Clear out the previous verbose files.
+ file_unmanaged_delete_recursive(file_directory_path() . '/simpletest/verbose');
// Get the info for the first test being run.
$first_test = array_shift($test_list);