Open Bug 1431460 Opened 6 years ago Updated 2 years ago

[tryselect] Implement |mach try path|

Categories

(Developer Infrastructure :: Try, enhancement, P3)

3 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: ahal, Unassigned)

Details

The ability to run paths with |mach try fuzzy| recently landed. I think it would be good to provide a thin wrapper around |mach try fuzzy <path>| to make it a bit smoother.

At the moment, running |mach try fuzzy <path>| opens up the fzf selection interface. I propose we create |mach try path| as a wrapper around this which:

A) Provides a default query so we skip the selection interface, something like "!pgo !cov !asan"
B) Require at least one valid path.

So usage would be:

./mach try path dom/indexedDB  # run tests under dom/indexedDB on all platforms
./mach try path dom/indexedDB -q "'linux 'opt"  # only run them on linux opt

In the first case pgo, asan and cov platforms would be excluded automatically.
Priority: -- → P3
Component: General → Try
Product: Testing → Firefox Build System
Version: Version 3 → 3 Branch
Product: Firefox Build System → Developer Infrastructure
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.