Closed Bug 1045226 Opened 10 years ago Closed 8 years ago

Client needs better cli verification

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mdas, Unassigned)

Details

(Keywords: pi-marionette-runner)

Currently, if you leave out the cli argument name, like here: python runtests.py --emulator arm /path/to/b2g_homedir --type=b2g tests/unit-tests.ini Where --homedir is not specified, we happily continue until we hit an exception later on, deep in the code, since homedir is None. This confusing to the user, and we should have some kind of verification. If a user doesn't specify the --argument, we should raise an exception.
A lot of the issues like this are because of the "interesting" combinationst hat B2G allowed. This has all been removed and happy to fix on a case by case basis
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.