Closed Bug 1083685 Opened 5 years ago Closed 5 years ago

./mach --log-file file.log marionette-webapi fails with unrecognized --log-file option

Categories

(Testing :: Marionette, defect, blocker)

ARM
Gonk (Firefox OS)
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gerard-majax, Unassigned)

References

Details

(Keywords: pi-marionette-runner)

This is making my life miserable for bug 1076597

alex@portable-alex:~/codaz/Mozilla/b2g/devices/Emulator/B2G$ ./mach help marionette-webapi
usage: mach [global arguments] marionette-webapi [command arguments]

Run a Marionette webapi test (test WebAPIs using marionette).

Global Arguments:
  -v, --verbose         Print verbose output.
  -l FILENAME, --log-file FILENAME
                        Filename to write log data to.
  --log-interval        Prefix log line with interval from last message rather
                        than relative time. Note that this is NOT execution
                        time if there are parallel operations.
  --log-no-times        Do not prefix log lines with times. By default, mach
                        will prefix each output line with the time since
                        command start.
  -h, --help            Show this help message.

Command Arguments:
  --type TESTTYPE  Test type, usually one of: browser, b2g, b2g-qemu.
  TESTS            Path to test(s) to run.
alex@portable-alex:~/codaz/Mozilla/b2g/devices/Emulator/B2G$ ./mach --log-file bluetooth.log --log-interval marionette-webapi dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js
Usage: mach [options]

mach: error: no such option: --log-file
alex@portable-alex:~/codaz/Mozilla/b2g/devices/Emulator/B2G$ git pull 
Already up-to-date.
alex@portable-alex:~/codaz/Mozilla/b2g/devices/Emulator/B2G$ ./mach -l bluetooth.log --log-interval marionette-webapi dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js
Usage: mach [options]

mach: error: no such option: -l
alex@portable-alex:~/codaz/Mozilla/b2g/devices/Emulator/B2G$ ./mach -l bluetooth.log marionette-webapi dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js
Usage: mach [options]

mach: error: no such option: -l
WebAPI Tests are no longer run so am closing these as wontfix
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.