mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 10:12:41 +01:00
Pass correct filename into PHPUnitTestEngine coverage
Summary: The test result parser in PhpunitTestEngine was receiving $test_path from the previous loop instead of $path from the current one. The variable isn't actually used in the PhpunitResultParser object (it exists for strict compatibility with the parent class) so it didn't cause any problems, but who knows if that could change in the future Test Plan: Review diff. No changes to the output of running 'arc unit' when using the Phpunit engine, as expected Reviewers: epriestley CC: aran, epriestley, aurelijus, chad Differential Revision: https://secure.phabricator.com/D6587
This commit is contained in:
parent
490984936b
commit
b56634ad27
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ final class PhpunitTestEngine extends ArcanistBaseUnitTestEngine {
|
|||
|
||||
list($err, $stdout, $stderr) = $future->resolve();
|
||||
|
||||
$results[] = $this->parseTestResults($test_path,
|
||||
$results[] = $this->parseTestResults(
|
||||
$test,
|
||||
$tmpfiles[$test]['json'],
|
||||
$tmpfiles[$test]['clover']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue