зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1360667 - Change location of coverage collection in xpcshell. r=jmaher
MozReview-Commit-ID: EsA8hTKd15Y --HG-- extra : rebase_source : 4f2e5bd8b2ecb6dee6b2b85f9687b62feb6c9531
This commit is contained in:
Родитель
298f6fe880
Коммит
5d46e96825
|
@ -538,13 +538,13 @@ function _execute_test() {
|
||||||
run_next_test();
|
run_next_test();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coverageCollector != null) {
|
|
||||||
coverageCollector.recordTestCoverage(_TEST_FILE[0]);
|
|
||||||
}
|
|
||||||
|
|
||||||
do_test_finished("MAIN run_test");
|
do_test_finished("MAIN run_test");
|
||||||
_do_main();
|
_do_main();
|
||||||
_PromiseTestUtils.assertNoUncaughtRejections();
|
_PromiseTestUtils.assertNoUncaughtRejections();
|
||||||
|
|
||||||
|
if (coverageCollector != null) {
|
||||||
|
coverageCollector.recordTestCoverage(_TEST_FILE[0]);
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
_passed = false;
|
_passed = false;
|
||||||
// do_check failures are already logged and set _quit to true and throw
|
// do_check failures are already logged and set _quit to true and throw
|
||||||
|
|
Загрузка…
Ссылка в новой задаче