Merge lp:~brendan-donegan/checkbox/bug916859_record_playback into lp:checkbox
Status: | Merged |
---|---|
Merged at revision: | 1200 |
Proposed branch: | lp:~brendan-donegan/checkbox/bug916859_record_playback |
Merge into: | lp:checkbox |
Diff against target: |
201 lines (+119/-12) 4 files modified
debian/changelog (+3/-1) debian/control (+1/-1) jobs/audio.txt.in (+7/-10) scripts/audio_settings (+108/-0) |
To merge this branch: | bzr merge lp:~brendan-donegan/checkbox/bug916859_record_playback |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marc Tardif (community) | Approve | ||
Brendan Donegan (community) | Needs Resubmitting | ||
Review via email: mp+89899@code.launchpad.net |
Description of the change
This branch introduces a script (written in Perl! Shock horror!) which manipulates the PulseAudio command line (pacmd) to ensure that when an audio test is run, the system is using the correct input and output, so that the test will be successful as long as the audio is working. I was careful to add functions to store and restore the users settings, so that these tests can still be used in Ubuntu Friendly.
Probably the nicest thing about this test is that all of the instructions in the usb_record_playback test are now superfluous, so I've removed them :)
Since the script is quite complex and the number of scenarios it can be used in numerous, I'd appreciate some independent testing of the script and the modified tests.
Any particular reason why the script is written in Perl? This makes it very difficult for most of the team to maintain, so I could volunteer to rewrite it in Python if you'd like.