Bluetooth test : snap checkbox arm64

checkbox job com.canonical.certification::bluetooth/obex-send uses obex_send.py.

In the command=‘send /snap/bluez/current/meta/snap.yaml’,

But actually in the snap core ubuntu 16.04 there is no meta/snap.yaml file to test for bluetooth send.

Is it possible to have envirnoment variable instead of hardcode path for send as similar to OBEX_TARGET envirnoment variable ? ex: OBEX_SEND_FILE

any suggestion/input on the above query?

Right. I think adding the envvar you suggested won’t hurt anyone. This could also default to a file that’s generated by the test if it isn’t supplied.

@vinaysimha Btw. I’m very curious which version of the bluez snap you’re using. I chose the snap.yaml because I presumed it’s always there.

$snap list
Name             Version        Rev   Developer  Notes
bluez            5.44-3         123   canonical  devmode

With this current change i am able to send the file by env [OBEX_SEND_FILE]

plainbox-provider-snappy

For some reasons when the OBEX_TARGET is mobile , we cannot send snap.yaml format.

@vinaysimha
I got the same version of bluez, and the file is there.

ls /snap/bluez/current/meta/snap.yaml
/snap/bluez/current/meta/snap.yaml 

For some reasons when the OBEX_TARGET is mobile

Like an Android device?
I think it’s super rare for systems to properly support OBEX. I managed to send something only to Ubuntu Desktops (granted that they had support from the adapter).