X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fservice-check-nogfx.sh;h=3a3a3b739e19bb8f7d07c4e24c4779f12cdf9464;hb=bd2c66954f5f0139cfd7610aeb3989965f4b3f7d;hp=a584e4e40994baf279466be9dbad581a5a55c78a;hpb=cd64f3d0e996ff86f9a45904d9a3ea76e3f49a66;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/service-check-nogfx.sh b/common/scripts/service-check-nogfx.sh index a584e4e..3a3a3b7 100755 --- a/common/scripts/service-check-nogfx.sh +++ b/common/scripts/service-check-nogfx.sh @@ -4,8 +4,8 @@ export LANG=C export TERM=dumb export COLUMNS=1000 -REQUIREDSOCKETS="dbus.socket security-manager.socket" -REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service bluetooth.service" +REQUIREDSOCKETS="dbus.socket" +REQUIREDSERVICES="" ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}" RESULT="unknown" @@ -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}