Closed Bug 1780222 Opened 2 years ago Closed 2 years ago

test-info manifest-conditions artifact should differentiate between multiple line conditions

Categories

(Testing :: General, task)

Default
task

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

Details

Attachments

(1 file)

in recent years we support conditions on multiple lines for manifestparser .ini test manifests. Previously conditions were restricted to a single line, such as:
skip-if = debug || asan || tsan || ccov

now this can look like:

skip-if =
  debug
  asan
  tsan
  ccov

each line is a unique condition, and I would like to consider them separate manifest conditions, not combine them to a single condition. What happens in the test-info-all task is we generate an artifact. This has entries like:
((debug || asan) && os == "win" && bits == 64) os == 'linux' && bits == 64

really this should be two entries:

 ((debug || asan) && os == "win" && bits == 64)
 os == 'linux' && bits == 64

I admit to not knowing the consumers of this file, so possibly I am overlooking an important use case.

Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e1216cbfd05
annotation report should show multi line conditions properly. r=gbrown,webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: