obex_send and bluetooth_test duplicate functionality?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
New
|
Undecided
|
Unassigned |
Bug Description
An older obex_send script is used in a few (3 by my count) jobs. Meanwhile, a newer bluetooth_test script that can also get and browse files is used by 9 jobs.
Some of the job definitions are nearly identical, so I think we may be duplicating tests here, just with a different tool.
Part of the difference is that obex_send uses dbus to communicate with the system's bluetooth layer, so should work on a stock Ubuntu installation, while bluetooth_test requires obexftp and uses the commands provided by that package.
Still I wonder if, since fully using the obex_send tests still requires configuring a target bluetooth device (which is no work for a novice or casual user), we couldn't just get rid of those tests, and keep the ones that, while requiring an extra package, provide better functionality. We'd also be removing the obex_test script.
Tests using obex_send are:
name: suspend/
name: suspend/
name: suspend/
They have:
requires:
package.name == 'bluez'
package.name == 'obexd-client'
device.category == 'BLUETOOTH'
Tests using bluetooth_test are:
name: suspend/
name: suspend/
name: suspend/
name: suspend/
name: suspend/
name: suspend/
name: suspend/
name: suspend/
name: suspend/
They require:
requires:
package.name == 'bluez'
package.name == 'obexftp'
device.category == 'BLUETOOTH'
affects: | checkbox → plainbox-provider-checkbox |