obex_send and bluetooth_test duplicate functionality?

Bug #1274658 reported by Daniel Manrique
6
This bug affects 1 person
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/bluetooth_obex_before_suspend
name: suspend/bluetooth_obex_after_suspend
name: suspend/bluetooth_obex_after_suspend_auto

They have:
requires:
 package.name == 'bluez'
 package.name == 'obexd-client'
 device.category == 'BLUETOOTH'

Tests using bluetooth_test are:
name: suspend/bluetooth_obex_send_before_suspend
name: suspend/bluetooth_obex_browse_before_suspend
name: suspend/bluetooth_obex_get_before_suspend
name: suspend/bluetooth_obex_send_after_suspend_auto
name: suspend/bluetooth_obex_send_after_suspend
name: suspend/bluetooth_obex_browse_after_suspend
name: suspend/bluetooth_obex_browse_after_suspend_auto
name: suspend/bluetooth_obex_get_after_suspend
name: suspend/bluetooth_obex_get_after_suspend_auto

They require:
requires:
 package.name == 'bluez'
 package.name == 'obexftp'
 device.category == 'BLUETOOTH'

Tags: scripts job
Zygmunt Krynicki (zyga)
affects: checkbox → plainbox-provider-checkbox
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.