Index: simpletest.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/simpletest/simpletest.module,v retrieving revision 1.15 diff -u -r1.15 simpletest.module --- simpletest.module 24 Jul 2006 13:44:15 -0000 1.15 +++ simpletest.module 8 Aug 2006 12:30:47 -0000 @@ -68,7 +68,7 @@ /* We currently use only the web tester that DrupalTestCase is built upon */ require_once(SIMPLE_TEST . '/web_tester.php'); - require_once(SIMPLE_TEST . '/reporter.php'); + require_once('drupal_reporter.php'); if (version_compare(SimpleTest::getVersion() , '1.0.1alpha3') < 0) { $output = t('Due to a recently discovered %bug_link the drupal simpletest module is not compatible with versions prior to 1.0.1alpha3. ' @@ -177,11 +177,12 @@ cache_clear_all(); exit ($test->run(new TextReporter()) ? 0 : 1); } - $reporter = &new HtmlReporter(); + $reporter = &new DrupalReporter(); cache_clear_all(); $test->run($reporter); - exit; + return $reporter->getOutput(); + //exit; } }