Compatibility with Drupal 6.x
stuartm - March 18, 2009 - 12:21
| Project: | Code coverage |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Hi, the module itself seems to work on drupal 6.8. The only things I needed to change were:
1. In the patch file. I'm currently using this version of simpletest:
// $Id: simpletest.module,v 1.33.2.4.2.13 2009/02/08 21:03:18 boombatower Exp $
In your simpletest.module patch, there are 2 parts: the first on line 324 doesn't seem to have an equivalent in my version. The second part, although identical in appearance, starts on line 354 in your version but on line 410 in mine.
2. An explicit require at the top of code_coverage.module:
require_once dirname(__FILE__).'/code_coverage.admin.inc';

#1
I have written two patches from your instruction to enable "code coverage" in Drupal 6.
The first for code coverage (.module and .info).
The second for simpletest, index.php and xmlrpc.php