Closed Bug 1255879 Opened 8 years ago Closed 10 months ago

mozharness should not force redeclaration of all command line arguments of underlying test harnesses but include them automatically like mach

Categories

(Release Engineering :: Applications: MozharnessCore, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: sydpolk, Unassigned)

Details

I had to duplicate some options that external-media-tests uses in the mozharness script just so they could be passed to the child process and be consumed by it. This seems wasteful.
So best here would be if mozharness could be smart enough similar to mach. There you create an instance of a parser for the arguments you want and pass that one into mach. Then mach allows to use all of them via the command line and delivers values of all passed in options as a kwargs dictionary.
Summary: mozharness should cherry-pick command-line options it needs (--installer, etc.), and pass the rest directly to the child process for processing → mozharness should not force redeclaration of all command line arguments of underlying test harnesses but include them automatically like mach
+100
Status: NEW → RESOLVED
Type: defect → enhancement
Closed: 10 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.