Closed Bug 1209847 Opened 9 years ago Closed 6 years ago

Mach error when putting --e10s flag between "marionette-test" and test path

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(e10s+)

RESOLVED WORKSFORME
Tracking Status
e10s + ---

People

(Reporter: TYLin, Unassigned)

References

(Blocks 1 open bug)

Details

I got the following error when putting --e10s flag between marionette-test and test path.

$ ./mach marionette-test --e10s testing/marionette/client/marionette/tests/unit/test_profile_management.py 
usage: mach [-h] [--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] [--addon ADDON]
            [--repeat REPEAT] [-x XML_OUTPUT] [--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] [--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/test_profile_management.py


However, it's fine to run the tests by appending the --e10s flag at the end:
$ ./mach marionette-test testing/marionette/client/marionette/tests/unit/test_profile_management.py --e10s
Blocks: e10s-tests
tracking-e10s: --- → +
Product: Core → Firefox Build System
It seems --e10s is not supported now, but I'm OK with it.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.