Open Bug 1299441 Opened 4 years ago Updated 3 years ago
Marionette should setup test environment based on mozrunner
.utils .test _environment()
Right now Marionette sets up different environment variables on its own. It means that lots others we usually make use of in other test harnesses are missing. One example are variables for ASAN builds. What we might want to do without having to add all this code again, is to call test_environment() from mozrunner.utils: https://dxr.mozilla.org/mozilla-central/rev/506facea63169a29e04eb140663da1730052db64/testing/mozbase/mozrunner/mozrunner/utils.py#83 We should check how this works for tests as run in-tree, via test-packages, and for other consumers. One issue might become the default value for MOZ_DISABLE_NONLOCAL_CONNECTIONS, which we would have to override for now.
You need to log in before you can comment on or make changes to this bug.