qtbase/coin/instructions/coin_module_test_android_start_emulator.yaml
Assam Boudjelthia 26016bc6d4 Android: unset QT_IM_MODULE when running Android tests
This environment variable might be set by some party (not quite sure
what, maybe the host OS), and when androidtestrunner passes QT_* vars
it might interfere with the input tests.

Pick-to: 6.8
Change-Id: I2a88c78535d6e3a809e8fcee8f8d752f91044a8c
Reviewed-by: Toni Saario <toni.saario@qt.io>
2024-10-17 17:49:04 +00:00

19 lines
610 B
YAML

type: Group
instructions:
- type: Group
instructions:
- type: EnvironmentVariable
# This variable interferes with Android input tests
# when forwarded by androidtestrunner.
variableName: QT_IM_MODULE
variableValue: ""
- type: ExecuteCommand
command: "{{.Env.ANDROID_EMULATOR_RUNNER}}"
maxTimeInSeconds: 600
maxTimeBetweenOutput: 300
userMessageOnFailure: "Failed to start emulator, check coin log and testresults log files."
enable_if:
condition: property
property: features
contains_value: AndroidTestRun