Problem/Motivation
The function either calls the phpunit script directly or uses a php finder class on Windows.
For example when running tests with run-tests.sh with a non-standard PHP binary to test PHP 7, it will not actually use PHP 7 to run those tests.
Proposed resolution
Use the same pattern as we use for running run-tests.sh? Then we can even drop the different behavior on windows and unix I think?
I have no idea why we went with a custom solution here...
Comments
Comment #9
quietone commentedTriaging issues in simpletest.module as part of the Bug Smash Initiative to determine if they should be in the Simpletest Project or core.
This looks like it belongs in the Simpletest project.