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

NEW
Unassigned

Status

3 years ago
2 years ago

People

(Reporter: sydpolk, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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

Comment 2

2 years ago
+100
You need to log in before you can comment on or make changes to this bug.