From 3ee442c03cec576ea9da90947303c2af02c5cd5a Mon Sep 17 00:00:00 2001 From: Burak Hancerli <burak.hancerli@qt.io> Date: Tue, 4 Feb 2025 08:46:48 +0100 Subject: [PATCH] fix: wrong if clause --- cicd/stages/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicd/stages/test.yml b/cicd/stages/test.yml index c90d746..1fd1728 100644 --- a/cicd/stages/test.yml +++ b/cicd/stages/test.yml @@ -28,7 +28,7 @@ test-x86_64: export PATH=$PATH:${ANDROID_SDK_ROOT}/emulator export PATH=$PATH:${ANDROID_SDK_ROOT}/platform-tools - | - if [[ adb devices | grep -q "device" ]]; then + if [[ $(adb devices | grep emulator) ]]; then echo "Emulator is running"; else echo "Starting emulator"; -- GitLab