X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fservice-check-gfx.sh;h=63e557e38cbb773aae353f77745095d3bdde031d;hb=5bec50058c8773be1bbf5f7c5a5f665cad4df884;hp=825ed7af038241465143d94efb308614f61c3b75;hpb=13329bab4eb245aef71ebfc33caadca7ad101cac;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/service-check-gfx.sh b/common/scripts/service-check-gfx.sh index 825ed7a..63e557e 100755 --- a/common/scripts/service-check-gfx.sh +++ b/common/scripts/service-check-gfx.sh @@ -2,6 +2,7 @@ export LANG=C export TERM=dumb +export COLUMNS=1000 while getopts ":b:d:" option; do case "${option}" in @@ -18,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="connman.service weston.service" ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}" RESULT="unknown" @@ -41,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