зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1474877: Fix mach reftest --repeat N. r=jmaher
We need to call ReadTests because otherwise we wouldn't recompute `g.urls`. Similarly, we don't want to throw when there are no remaining reftests, since we handle that case properly. Differential Revision: https://phabricator.services.mozilla.com/D2069 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
4abbfa1d61
Коммит
b7c5c14e27
|
@ -508,7 +508,7 @@ function StartTests()
|
|||
}
|
||||
|
||||
g.totalTests = g.urls.length;
|
||||
if (!g.totalTests && !g.verify)
|
||||
if (!g.totalTests && !g.verify && !g.repeat)
|
||||
throw "No tests to run";
|
||||
|
||||
g.uriCanvases = {};
|
||||
|
@ -626,7 +626,7 @@ function StartCurrentTest()
|
|||
} else if (g.urls.length == 0 && g.repeat > 0) {
|
||||
// Repeat
|
||||
g.repeat--;
|
||||
StartTests();
|
||||
ReadTests();
|
||||
} else {
|
||||
if (g.urls[0].chaosMode) {
|
||||
g.windowUtils.enterChaosMode();
|
||||
|
|
Загрузка…
Ссылка в новой задаче