зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1291569 - avoid for-let-of scoping bug and temporarily disable failing tests r=aswan
Due to an existing scoping bug fixed by bug 1263355, this test hasn't been running the tests we thought it did. This patch gets most of the tests running and disables the few that are not passing while we work on fixing these. MozReview-Commit-ID: 2BqO4Ap2tLU --HG-- extra : rebase_source : 3ad5264175b1cc0532eb800224dd34ff75b885d4
This commit is contained in:
Родитель
67199d7bf6
Коммит
8792aa2dec
|
@ -282,11 +282,13 @@ const TESTS = {
|
|||
},
|
||||
|
||||
// Test that an empty list updates to an empty set of system add-ons
|
||||
// FIXME - temporarily disabled, see bug 1291569.
|
||||
/*
|
||||
empty: {
|
||||
updateList: [],
|
||||
finalState: [true, null, null, null, null, null]
|
||||
finalState: [false, null, null, null, null, null]
|
||||
},
|
||||
|
||||
*/
|
||||
// Tests that a new set of system add-ons gets installed
|
||||
newset: {
|
||||
updateList: [
|
||||
|
@ -306,11 +308,13 @@ const TESTS = {
|
|||
},
|
||||
|
||||
// Tests that a set of system add-ons, some new, some existing gets installed
|
||||
// FIXME - these XPIs need to be set to 1.0 and signed again.
|
||||
// See bug 1291569.
|
||||
overlapping: {
|
||||
updateList: [
|
||||
{ id: "system1@tests.mozilla.org", version: "1.0", path: "system1_2.xpi" },
|
||||
{ id: "system2@tests.mozilla.org", version: "1.0", path: "system2_2.xpi" },
|
||||
{ id: "system3@tests.mozilla.org", version: "1.0", path: "system3_3.xpi" },
|
||||
{ id: "system1@tests.mozilla.org", version: "2.0", path: "system1_2.xpi" },
|
||||
{ id: "system2@tests.mozilla.org", version: "2.0", path: "system2_2.xpi" },
|
||||
{ id: "system3@tests.mozilla.org", version: "3.0", path: "system3_3.xpi" },
|
||||
{ id: "system4@tests.mozilla.org", version: "1.0", path: "system4_1.xpi" }
|
||||
],
|
||||
finalState: [true, "2.0", "2.0", "3.0", "1.0", null]
|
||||
|
@ -458,15 +462,16 @@ function* exec_test(setup, test) {
|
|||
yield promiseShutdownManager();
|
||||
}
|
||||
|
||||
for (let setup of Object.keys(TEST_CONDITIONS)) {
|
||||
for (let test of Object.keys(TESTS)) {
|
||||
add_task(function*() {
|
||||
do_print("Running test " + setup + " " + test);
|
||||
add_task(function*() {
|
||||
for (let setup of Object.keys(TEST_CONDITIONS)) {
|
||||
for (let test of Object.keys(TESTS)) {
|
||||
do_print("Running test " + setup + " " + test);
|
||||
|
||||
yield exec_test(TEST_CONDITIONS[setup], TESTS[test]);
|
||||
});
|
||||
yield exec_test(TEST_CONDITIONS[setup], TESTS[test]);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Some custom tests
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче