X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fservice-check-nogfx.sh;h=68bc36abbf5f058cde01e41835bfae53794f8661;hb=5bec50058c8773be1bbf5f7c5a5f665cad4df884;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..68bc36a 100755 --- a/common/scripts/service-check-nogfx.sh +++ b/common/scripts/service-check-nogfx.sh @@ -2,9 +2,10 @@ 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="connman.service" ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}" RESULT="unknown" @@ -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}