Open Bug 2052314 Opened 6 days ago Updated 1 day ago

XPCShell tests handle tags inconsistently

Categories

(Testing :: XPCShell Harness, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bea, Assigned: bea)

Details

Attachments

(1 file)

I noticed when using the multiple --tag arguments with XPCShell a match-all logic is applied -- the test must have all provided tags to be executed.

While mochi and marionette tests use a match-any logic.

Which is the correct? I believe it's match-any, since that is what the xpcshell argument docstring states: https://searchfox.org/firefox-main/source/testing/xpcshell/xpcshellcommandline.py#210-212

It's confusing also because somewhere in the code a docstring states "Multiple tag filters is equivalent to joining tags with the AND operator." (https://searchfox.org/firefox-main/source/testing/mozbase/manifestparser/manifestparser/filters.py#364).

Assignee: nobody → bea
Component: General → XPCShell Harness
Product: Core → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: