Bug 1960076 - remove some variants which can expire from test fuzzy. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D247598
This commit is contained in:
committed by
jmaher@mozilla.com
parent
242f82d79f
commit
6e7e47de70
@@ -79,7 +79,7 @@ def test_query_paths_variants(run_mach, capfd, variant):
|
|||||||
"fuzzy",
|
"fuzzy",
|
||||||
"--no-push",
|
"--no-push",
|
||||||
"-q",
|
"-q",
|
||||||
"^test-linux '64-qr/debug-mochitest-browser-chrome%s-" % variant,
|
"^test-linux !ioi !vt '64-qr/debug-mochitest-browser-chrome%s-" % variant,
|
||||||
]
|
]
|
||||||
assert run_mach(cmd) == 0
|
assert run_mach(cmd) == 0
|
||||||
|
|
||||||
@@ -90,10 +90,8 @@ def test_query_paths_variants(run_mach, capfd, variant):
|
|||||||
expected = ["test-linux1804-64-qr/debug-mochitest-browser-chrome%s-*" % variant]
|
expected = ["test-linux1804-64-qr/debug-mochitest-browser-chrome%s-*" % variant]
|
||||||
else:
|
else:
|
||||||
expected = [
|
expected = [
|
||||||
"test-linux1804-64-qr/debug-mochitest-browser-chrome-ioi",
|
|
||||||
"test-linux1804-64-qr/debug-mochitest-browser-chrome-spi-nw-*",
|
"test-linux1804-64-qr/debug-mochitest-browser-chrome-spi-nw-*",
|
||||||
"test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-*",
|
"test-linux1804-64-qr/debug-mochitest-browser-chrome-swr-*",
|
||||||
"test-linux1804-64-qr/debug-mochitest-browser-chrome-vt",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
delim = "Calculated try_task_config.json:"
|
delim = "Calculated try_task_config.json:"
|
||||||
@@ -133,7 +131,7 @@ def test_query_tags(run_mach, capfd, tag):
|
|||||||
"--tag",
|
"--tag",
|
||||||
tag,
|
tag,
|
||||||
"-q",
|
"-q",
|
||||||
"^test-linux '64-qr/debug- !http !spi !swr !nofis !headless !xorig !async !ioi",
|
"^test-linux '64-qr/debug- !http !spi !swr !nofis !headless !xorig !async !ioi !vt",
|
||||||
]
|
]
|
||||||
if tag == "not_a_valid_tag":
|
if tag == "not_a_valid_tag":
|
||||||
assert run_mach(cmd) == 1
|
assert run_mach(cmd) == 1
|
||||||
@@ -144,7 +142,6 @@ def test_query_tags(run_mach, capfd, tag):
|
|||||||
print(output)
|
print(output)
|
||||||
|
|
||||||
expected = [
|
expected = [
|
||||||
"test-linux1804-64-qr/debug-mochitest-browser-chrome-vt",
|
|
||||||
"test-linux1804-64-qr/debug-mochitest-devtools-chrome-*",
|
"test-linux1804-64-qr/debug-mochitest-devtools-chrome-*",
|
||||||
"test-linux1804-64-qr/debug-mochitest-chrome-1proc-*",
|
"test-linux1804-64-qr/debug-mochitest-chrome-1proc-*",
|
||||||
"test-linux1804-64-qr/debug-mochitest-chrome-gpu-1proc",
|
"test-linux1804-64-qr/debug-mochitest-chrome-gpu-1proc",
|
||||||
@@ -156,6 +153,9 @@ def test_query_tags(run_mach, capfd, tag):
|
|||||||
"test-linux1804-64-qr/debug-test-verify-wpt",
|
"test-linux1804-64-qr/debug-test-verify-wpt",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if tag == "webextensions":
|
||||||
|
expected.remove("test-linux1804-64-qr/debug-mochitest-devtools-chrome-*")
|
||||||
|
|
||||||
delim = "Calculated try_task_config.json:"
|
delim = "Calculated try_task_config.json:"
|
||||||
index = output.find(delim)
|
index = output.find(delim)
|
||||||
result = json.loads(output[index + len(delim) :])
|
result = json.loads(output[index + len(delim) :])
|
||||||
|
|||||||
Reference in New Issue
Block a user