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>
This commit is contained in:
Assam Boudjelthia 2024-10-16 21:11:07 +03:00
parent 574c966ac8
commit 26016bc6d4

View File

@ -2,6 +2,11 @@ type: Group
instructions: instructions:
- type: Group - type: Group
instructions: instructions:
- type: EnvironmentVariable
# This variable interferes with Android input tests
# when forwarded by androidtestrunner.
variableName: QT_IM_MODULE
variableValue: ""
- type: ExecuteCommand - type: ExecuteCommand
command: "{{.Env.ANDROID_EMULATOR_RUNNER}}" command: "{{.Env.ANDROID_EMULATOR_RUNNER}}"
maxTimeInSeconds: 600 maxTimeInSeconds: 600