From c100468cf232d34b85534277d3fc01ee95f02256 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 6 May 2008 11:21:10 +0000 Subject: - Patch #251473 by webchick, chx, et al: one step closer to running tests in the includes directory. Not working yet. --- modules/simpletest/drupal_test_suite.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/simpletest/drupal_test_suite.php') diff --git a/modules/simpletest/drupal_test_suite.php b/modules/simpletest/drupal_test_suite.php index 6779d882b..9aa428391 100644 --- a/modules/simpletest/drupal_test_suite.php +++ b/modules/simpletest/drupal_test_suite.php @@ -121,6 +121,9 @@ class DrupalTests extends DrupalTestSuite { $files[] = $test; } } + foreach (file_scan_directory('includes', '\.test$') as $file) { + $files[] = $file->filename; + } return $files; } -- cgit v1.2.3