Closed Bug 1762047 Opened 3 years ago Closed 1 year ago

[manifestparser] skip-if entries can contain conditions with single equals, which evaluate to true

Categories

(Testing :: Mozbase, defect)

Default
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1831514

People

(Reporter: beth, Assigned: gbrown)

Details

:Gijs noticed that https://bugzilla.mozilla.org/show_bug.cgi?id=1761227 was not showing up as an orange on try and, upon our investigation, we found that the manifest for this test contains:

[browser_Troubleshoot.js]
skip-if = os = "win" && os_version = "6.1" # bug 1715857

and as such this bug is always skipped because it is not doing a comparison (==).

See this treeherder log from m-c

As it turns out there are multiple other instances of this (searchfox query)

	browser/modules/test/browser/browser.ini
8	skip-if = os = "win" && os_version = "6.1" # bug 1715860
	dom/events/test/browser.ini
4	skip-if = (os != 'linux' && os != 'win') || skip-if = !e10s
	toolkit/content/tests/browser/browser.ini
97	skip-if = os == "linux" && bits == 64 && os_version = "18.04" # Bug 1614739
	toolkit/modules/tests/browser/browser.ini
24	skip-if = debug || os = "linux"
26	skip-if = debug || os = "linux"
30	skip-if = os = "win" && os_version = "6.1" # bug 1715857

I would expect this to be handled in https://searchfox.org/mozilla-central/source/testing/mozbase/manifestparser/manifestparser/expression.py, but, at a glance, I don't see explicit handling of '='.

Severity: -- → S4
Summary: skip-if entries can contain conditions with single equals, which evaluate to true → [manifestparser] skip-if entries can contain conditions with single equals, which evaluate to true
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1831514
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.