Merge "Skip the can test" 8.99.3 icefish/8.99.3 icefish_8.99.3
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 10 Dec 2019 13:39:37 +0000 (13:39 +0000)
committerGerrit Code Review <gerrit@automotivelinux.org>
Tue, 10 Dec 2019 13:39:37 +0000 (13:39 +0000)
common/scripts/service-check-gfx.sh
common/scripts/service-check-nogfx.sh

index e4804e3..d7cfd85 100755 (executable)
@@ -42,6 +42,16 @@ for i in ${ALL} ; do
             RESULT="pass"
         else
             RESULT="fail"
+            if [[ ${i} == "bluetooth.service" ]]; then
+                if [[ ${DEVICE_TAGS} != *"bluetooth"* ]] || [[ ${BUILD_TAGS} != *"bluetooth"* ]]; then
+                    RESULT="skip"
+                fi
+            fi
+            if [[ ${i} == "ofono.service" ]]; then
+                if [[ ${DEVICE_TAGS} != *"bluetooth"* ]] || [[ ${BUILD_TAGS} != *"bluetooth"* ]]; then
+                    RESULT="skip"
+                fi
+            fi
         fi
     fi
 
index a584e4e..4828805 100755 (executable)
@@ -21,6 +21,16 @@ for i in ${ALL} ; do
         RESULT="pass"
     else
         RESULT="fail"
+        if [[ ${i} == "bluetooth.service" ]]; then
+            if [[ ${DEVICE_TAGS} != *"bluetooth"* ]] || [[ ${BUILD_TAGS} != *"bluetooth"* ]]; then
+                RESULT="skip"
+            fi
+        fi
+        if [[ ${i} == "ofono.service" ]]; then
+            if [[ ${DEVICE_TAGS} != *"bluetooth"* ]] || [[ ${BUILD_TAGS} != *"bluetooth"* ]]; then
+                RESULT="skip"
+            fi
+        fi
     fi
 
     lava-test-case ${i} --result ${RESULT}