Merge lp:~cgregan/checkbox/bluetooth into lp:checkbox

Proposed by Chris Gregan
Status: Merged
Approved by: Daniel Manrique
Approved revision: 2612
Merged at revision: 2611
Proposed branch: lp:~cgregan/checkbox/bluetooth
Merge into: lp:checkbox
Diff against target: 87 lines (+28/-2)
2 files modified
checkbox-old/jobs/bluetooth.txt.in (+27/-1)
checkbox-old/jobs/ethernet.txt.in (+1/-1)
To merge this branch: bzr merge lp:~cgregan/checkbox/bluetooth
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+203131@code.launchpad.net

Description of the change

updated BT cases

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

Looks ok, thanks!

review: Approve
Revision history for this message
Daniel Manrique (roadmr) wrote :

Er, oops, a minor typo needs to be fixed. Numbering of the steps in bluetooth/audio is bad (6, 7, 8, 9, 7). See line 34-35 of the diff.

review: Needs Fixing
lp:~cgregan/checkbox/bluetooth updated
2612. By Chris Gregan

fixed minor numbering and added duration

Revision history for this message
Daniel Manrique (roadmr) wrote :

OK, thanks, now we can approve :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'checkbox-old/jobs/bluetooth.txt.in'
2--- checkbox-old/jobs/bluetooth.txt.in 2013-10-01 19:28:56 +0000
3+++ checkbox-old/jobs/bluetooth.txt.in 2014-01-24 18:13:54 +0000
4@@ -1,6 +1,7 @@
5
6 plugin: shell
7 name: bluetooth/detect-output
8+estimated_duration: 1.2
9 requires:
10 package.name == 'bluez'
11 device.category == 'BLUETOOTH'
12@@ -25,6 +26,7 @@
13 plugin: manual
14 name: bluetooth/browse-files
15 depends: bluetooth/detect-output
16+estimated_duration: 120.0
17 _description:
18 PURPOSE:
19 This test will check that bluetooth connection works correctly
20@@ -44,6 +46,7 @@
21 plugin: manual
22 name: bluetooth/file-transfer
23 depends: bluetooth/browse-files bluetooth/detect-output
24+estimated_duration: 120.0
25 _description:
26 PURPOSE:
27 This test will check that you can transfer information through a bluetooth connection
28@@ -55,8 +58,27 @@
29 Were all files copied correctly?
30
31 plugin: user-interact-verify
32+name: bluetooth/audio-a2dp
33+depends: bluetooth/detect-output
34+estimated_duration: 120.0
35+command: audio_settings store --file=$CHECKBOX_DATA/pulseaudio_settings; audio_settings set --device=pci --volume=50; gst_pipeline_test -t 2 'audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! autoaudiosink'; EXIT_CODE=$?; audio_settings restore --file=$CHECKBOX_DATA/pulseaudio_settings; exit $EXIT_CODE
36+_description:
37+ PURPOSE:
38+ This test will check that you can record and hear audio using a bluetooth audio device
39+ STEPS:
40+ 1. Enable the bluetooth headset
41+ 2. Click on the sound icon
42+ 3. Click "Sound Settings"
43+ 4. Look for the device in the list and select it
44+ 5. Set Quality to A2DP
45+ 6. Click "Test" to record for five seconds and reproduce in the bluetooth device
46+ VERIFICATION:
47+ Did you hear the sound?
48+
49+plugin: user-interact-verify
50 name: bluetooth/audio
51 depends: bluetooth/detect-output
52+estimated_duration: 120.0
53 command: arecord -d 5 -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE
54 _description:
55 PURPOSE:
56@@ -68,13 +90,17 @@
57 4. Look for the device in the list and select it
58 5. In the device write the PIN code automatically chosen by the wizard
59 6. The device should pair with the computer
60- 7. Click "Test" to record for five seconds and reproduce in the bluetooth device
61+ 7. Click the sound icon
62+ 8. Click "Sound Settings"
63+ 9. Select device and ensure Quality is set to "HSP/HFP"
64+ 10. Click "Test" to record for five seconds and reproduce in the bluetooth device
65 VERIFICATION:
66 Did you hear the sound you recorded in the bluetooth
67
68 plugin: user-interact-verify
69 name: bluetooth/HID
70 depends: bluetooth/detect-output
71+estimated_duration: 120.0
72 command: keyboard_test
73 _description:
74 PURPOSE:
75
76=== modified file 'checkbox-old/jobs/ethernet.txt.in'
77--- checkbox-old/jobs/ethernet.txt.in 2014-01-06 16:37:05 +0000
78+++ checkbox-old/jobs/ethernet.txt.in 2014-01-24 18:13:54 +0000
79@@ -107,7 +107,7 @@
80 requires: device.path == "$1"
81 user: root
82 command: network test -i $2 -t stress
83- estimated_duration: 330..0
84+ estimated_duration: 330.0
85 _description:
86 This test executes iperf to generate a load on the network device and then performs a ping test to watch for dropped packets and very large latency periods.
87 EOF

Subscribers

People subscribed via source and target branches