From 26016bc6d42f050b7095579150eee34bc69343f8 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Wed, 16 Oct 2024 21:11:07 +0300 Subject: [PATCH] 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 --- .../coin_module_test_android_start_emulator.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coin/instructions/coin_module_test_android_start_emulator.yaml b/coin/instructions/coin_module_test_android_start_emulator.yaml index eff28ff4949..78831cbeada 100644 --- a/coin/instructions/coin_module_test_android_start_emulator.yaml +++ b/coin/instructions/coin_module_test_android_start_emulator.yaml @@ -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