зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
2bf351e593
Коммит
5a4b2e86e4
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче