Closed Bug 1251037 Opened 4 years ago Closed 4 years ago

Running ./mach marionette with a parameter and an explicit test file will fail

Categories

(Testing :: Marionette, defect)

defect
Not set

Tracking

(firefox47 fixed)

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: sydpolk, Assigned: sydpolk)

Details

Attachments

(1 file)

Syd-Polks-Mozilla-MBP:mozilla-central spolk$ ./mach marionette-test --gecko-log=dummy testing/marionette/client/marionette/tests/unit-tests.ini
usage: mach [-h] [-v] [--emulator {x86,arm}]
            [--emulator-binary EMULATOR_BINARY] [--emulator-img EMULATOR_IMG]
            [--emulator-res EMULATOR_RES] [--sdcard SDCARD] [--no-window]
            [--logcat-dir LOGDIR] [--logcat-stdout] [--address ADDRESS]
            [--device DEVICE_SERIAL] [--adb-host ADB_HOST]
            [--adb-port ADB_PORT] [--type TYPE] [--homedir HOMEDIR]
            [--app APP] [--app-arg APP_ARGS] [--binary BINARY]
            [--profile PROFILE] [--pref PREFS_ARGS]
            [--preferences PREFS_FILES] [--addon ADDON] [--repeat REPEAT]
            [--testvars TESTVARS] [--tree TREE] [--symbols-path SYMBOLS_PATH]
            [--timeout TIMEOUT] [--startup-timeout STARTUP_TIMEOUT]
            [--shuffle] [--shuffle-seed SHUFFLE_SEED]
            [--total-chunks TOTAL_CHUNKS] [--this-chunk THIS_CHUNK]
            [--sources SOURCES] [--server-root SERVER_ROOT]
            [--gecko-log GECKO_LOG] [--logger-name LOGGER_NAME] [--jsdebugger]
            [--pydebugger PYDEBUGGER] [--socket-timeout SOCKET_TIMEOUT]
            [--e10s] [--tag TEST_TAGS] [--workspace WORKSPACE]
            [--log-unittest LOG_UNITTEST] [--log-raw LOG_RAW]
            [--log-html LOG_HTML] [--log-tbpl LOG_TBPL]
            [--log-xunit LOG_XUNIT] [--log-mach LOG_MACH]
            [--log-mach-buffer LOG_MACH_BUFFER]
            [--log-tbpl-buffer LOG_TBPL_BUFFER] [--log-mach-verbose]
            [--log-mach-level LOG_MACH_LEVEL] [--log-raw-level LOG_RAW_LEVEL]
            [--log-tbpl-level LOG_TBPL_LEVEL]
            [tests [tests ...]]
mach: error: unrecognized arguments: testing/marionette/client/marionette/tests/unit-tests.ini
Syd-Polks-Mozilla-MBP:mozilla-central spolk$ 

This is similar to 1250641.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1245468
I think that the incorrect bug was marked as a duplicate. This is about marionette; bug 1245468 is about firefox-ui-tests. Similar problem, to be sure.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee: nobody → spolk
Comment on attachment 8723699 [details]
MozReview Request: Bug 1251037 - Fix ./mach marionette command line to work with options and tests. r?automatedtester, r?gps

https://reviewboard.mozilla.org/r/36675/#review33577
Attachment #8723699 - Flags: review?(gps) → review+
Comment on attachment 8723699 [details]
MozReview Request: Bug 1251037 - Fix ./mach marionette command line to work with options and tests. r?automatedtester, r?gps

https://reviewboard.mozilla.org/r/36675/#review33679
Attachment #8723699 - Flags: review?(dburns) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/0cf25ffb904e8505039e722ca88ac08d24594698
Bug 1251037 - Fix ./mach marionette command line to work with options and tests. r=automatedtester, r=gps
https://hg.mozilla.org/mozilla-central/rev/0cf25ffb904e
https://hg.mozilla.org/mozilla-central/rev/9b6e06d5dab6
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.