export LANG=C
export TERM=dumb
+export COLUMNS=1000
while getopts ":b:d:" option; do
case "${option}" in
esac
done
-REQUIREDSOCKETS="cynara.socket dbus.socket security-manager.socket"
+REQUIREDSOCKETS="dbus.socket security-manager.socket"
REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service weston.service bluetooth.service"
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
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
echo "------------------------------------------------"
( systemctl list-units | grep failed ) || true
-exit 0
\ No newline at end of file
+exit 0