X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fservice-check-gfx.sh;h=96a10f24ff1f1bc0c8b4d0471b5e6a88c576fe65;hb=refs%2Fheads%2Fmaster;hp=e4804e3d82ac7d15fe8676e15338e1ec8a8c3009;hpb=cd64f3d0e996ff86f9a45904d9a3ea76e3f49a66;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/service-check-gfx.sh b/common/scripts/service-check-gfx.sh index e4804e3..96a10f2 100755 --- a/common/scripts/service-check-gfx.sh +++ b/common/scripts/service-check-gfx.sh @@ -19,8 +19,8 @@ while getopts ":b:d:" option; do esac done -REQUIREDSOCKETS="dbus.socket security-manager.socket" -REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service weston.service bluetooth.service" +REQUIREDSOCKETS="dbus.socket" +REQUIREDSERVICES="" ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}" RESULT="unknown" @@ -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