Skip to content

Add support for an env_str in mobly#1004

Open
hongyu-wang wants to merge 4 commits into
google:masterfrom
hongyu-wang:environment-support
Open

Add support for an env_str in mobly#1004
hongyu-wang wants to merge 4 commits into
google:masterfrom
hongyu-wang:environment-support

Conversation

@hongyu-wang
Copy link
Copy Markdown

This CL adds an env field to snippet_client_v2.Config, allowing users to prepend environment variables or command wrappers to the am instrument command used to start snippet servers.

Comment thread mobly/controllers/android_device_lib/snippet_client_v2.py Outdated
Comment thread mobly/controllers/android_device_lib/snippet_client_v2.py
@mhaoli
Copy link
Copy Markdown
Collaborator

mhaoli commented May 6, 2026

Please fix the format issue by following this doc: https://github.com/google/mobly/blob/master/CONTRIBUTING.md#code-style

@mhaoli
Copy link
Copy Markdown
Collaborator

mhaoli commented May 6, 2026

This is duplicated with PR #1008 and the implementation in PR #1008 is slightly better than this.

So I'll merge that #1008 if the comment in that PR is resolved.

@hongyu-wang hongyu-wang closed this May 8, 2026
@hongyu-wang hongyu-wang reopened this May 15, 2026
Move the env variable below user_id. Also fix formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants