X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fservice-check-nogfx.sh;h=48288052b61e6a3ffdbc822912d5c4a1c729890f;hb=63b7812201fd3b20c7c0efdea23e24d09c11f8a1;hp=6515377a1299a837c793f4d3c1d6d18d545a4b77;hpb=13329bab4eb245aef71ebfc33caadca7ad101cac;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/service-check-nogfx.sh b/common/scripts/service-check-nogfx.sh index 6515377..4828805 100755 --- a/common/scripts/service-check-nogfx.sh +++ b/common/scripts/service-check-nogfx.sh @@ -2,6 +2,7 @@ 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" @@ -20,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}