diff options
Diffstat (limited to 'common/scripts/service-check-nogfx.sh')
-rwxr-xr-x | common/scripts/service-check-nogfx.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/scripts/service-check-nogfx.sh b/common/scripts/service-check-nogfx.sh index a584e4e..4828805 100755 --- a/common/scripts/service-check-nogfx.sh +++ b/common/scripts/service-check-nogfx.sh @@ -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} |