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.

Change-Id: I2a88c78535d6e3a809e8fcee8f8d752f91044a8c
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 26016bc6d42f050b7095579150eee34bc69343f8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Assam Boudjelthia 2024-10-16 21:11:07 +03:00 committed by Qt Cherry-pick Bot
parent 359abfdf9b
commit bbf819dd23

View File

@ -2,6 +2,11 @@ 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