diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-06 11:21:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-06 11:21:10 +0000 |
commit | c100468cf232d34b85534277d3fc01ee95f02256 (patch) | |
tree | a2952d825648966dcccd6fe15a511a11df2d9142 /modules/simpletest/drupal_test_suite.php | |
parent | 9c528c137f782fd372f69a901add4e38f75481b4 (diff) | |
download | brdo-c100468cf232d34b85534277d3fc01ee95f02256.tar.gz brdo-c100468cf232d34b85534277d3fc01ee95f02256.tar.bz2 |
- Patch #251473 by webchick, chx, et al: one step closer to running tests in the includes directory. Not working yet.
Diffstat (limited to 'modules/simpletest/drupal_test_suite.php')
-rw-r--r-- | modules/simpletest/drupal_test_suite.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |