зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1512989 - Part 1: Pass correct test type. r=ahal
This commit is contained in:
Родитель
90e657e176
Коммит
75e44f9708
|
@ -292,11 +292,12 @@ function ReadManifest(aURL, aFilter)
|
|||
ReadManifest(incURI, aFilter);
|
||||
}
|
||||
} else if (items[0] == TYPE_LOAD || items[0] == TYPE_SCRIPT) {
|
||||
var type = items[0];
|
||||
if (items.length != 2)
|
||||
throw "Error in manifest file " + aURL.spec + " line " + lineNo + ": incorrect number of arguments to " + items[0];
|
||||
if (items[0] == TYPE_LOAD && expected_status != EXPECTED_PASS && expected_status != EXPECTED_DEATH)
|
||||
throw "Error in manifest file " + aURL.spec + " line " + lineNo + ": incorrect number of arguments to " + type;
|
||||
if (type == TYPE_LOAD && expected_status != EXPECTED_PASS && expected_status != EXPECTED_DEATH)
|
||||
throw "Error in manifest file " + aURL.spec + " line " + lineNo + ": incorrect known failure type for load test";
|
||||
AddTestItem({ type: TYPE_LOAD,
|
||||
AddTestItem({ type: type,
|
||||
expected: expected_status,
|
||||
manifest: aURL.spec,
|
||||
allowSilentFail: allow_silent_fail,
|
||||
|
|
Загрузка…
Ссылка в новой задаче