Bug 1282599 - Pass test path as a string to xpcshell coverage collector. r=chmanchester

The test file path is now recorded by the coverage collector as a string rather than a single element array.

MozReview-Commit-ID: 9qW0tAKmqMS

--HG--
extra : rebase_source : a03f8fe2a9736ec41c72cad083da6a6142d343ad
This commit is contained in:
Greg Mierzwinski 2016-06-27 18:17:41 -04:00
Родитель 2bf351e593
Коммит 5a4b2e86e4
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -537,7 +537,7 @@ function _execute_test() {
}
if (coverageCollector != null) {
coverageCollector.recordTestCoverage(_TEST_FILE);
coverageCollector.recordTestCoverage(_TEST_FILE[0]);
}
do_test_finished("MAIN run_test");
@ -551,7 +551,7 @@ function _execute_test() {
// possible that this will mask an NS_ERROR_ABORT that happens after a
// do_check failure though.
if (coverageCollector != null) {
coverageCollector.recordTestCoverage(_TEST_FILE);
coverageCollector.recordTestCoverage(_TEST_FILE[0]);
}
if (!_quit || e != Components.results.NS_ERROR_ABORT) {