Closed Bug 1831514 Opened 1 year ago Closed 1 year ago

Test manifest parser should complain about assignment conditions

Categories

(Testing :: General, defect)

Default
defect

Tracking

(firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

There are at least 4 tests that are disabled everywhere because we assign rather than condition tests, just for the os information bit:

https://searchfox.org/mozilla-central/search?q=os+%3D+&path=.ini&case=false&regexp=false

Another 2 that do this with os_version:

https://searchfox.org/mozilla-central/search?q=os_version+%3D+&path=.ini&case=false&regexp=false

and probably more that do the same kind of thing with test information bits whose names I can't think of right now.

The ini file parser should fail to parse this so people don't add bogus test conditions.

Blocks: 1831517
Blocks: 1831518
Blocks: 1831519
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Blocks: 1831531
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/76177ecd9fe6
make assignments in .ini test manifests break parsing, r=jmaher
https://hg.mozilla.org/integration/autoland/rev/7a353e9b5023
add test for manifest parser complaining about broken conditions, r=jmaher
Duplicate of this bug: 1762047
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: