Open Bug 1614614 Opened 5 years ago Updated 2 years ago

mach try --detect-paths does not work

Categories

(Developer Infrastructure :: Try, defect, P5)

x86_64
Linux

Tracking

(Not tracked)

People

(Reporter: sg, Unassigned)

Details

When trying to run

./mach try syntax -b do -p linux --detect-paths

I get the error message

Specified path "/home/simon/work/mozilla-unified/testing/condprofile/condprof/tests/**" is not a directory under the srcdir, unable to specify tests outside of the srcdir

In another attempt, I get

Specified path "/home/simon/work/mozilla-unified/editor/composer/crashtests/**" is not a directory under the srcdir, unable to specify tests outside of the srcdir

Fyi, try syntax isn't very well supported these days. I'm not sure what --detect-paths was supposed to do, but it's more likely that we consolidate try syntax with the other selectors (and deprecate --detect-paths in the process) than spending time on this issue (sorry).

If you can explain your use case, I might be able to help you find a way to accomplish it with one of the more modern selectors (and if it's not possible, maybe this bug can morph into implementing what you need there).

Priority: -- → P5

I guess I was mistaken about the necessity of --detect-paths. I think the behaviour I want is the default behavior of mach try syntax.

I am not sure what --detect-paths is supposed to do then. Maybe it can be removed?

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.