diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2019-10-22 14:55:42 +0100 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2019-10-22 14:55:42 +0100 |
commit | 7bf0d7b3fab491ebd2e93246e7d496b1c2c5527a (patch) | |
tree | d3a47cdc23d0f4db92287e97552319b4572e50ba /units | |
parent | 2602516963f9a6a1418ff7d217effe8f3fad2190 (diff) |
audio: add loopback connector manifest entry
As with other categories, if some peripheral connector/device is needed for the test to run than using a manifest to indicate it is present helps with completing test passes (shouldn't be used as a means to skip tests though).
Diffstat (limited to 'units')
-rw-r--r-- | units/audio/jobs.pxu | 2 | ||||
-rw-r--r-- | units/audio/manifest.pxu | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/units/audio/jobs.pxu b/units/audio/jobs.pxu index 0745e5c..126209e 100644 --- a/units/audio/jobs.pxu +++ b/units/audio/jobs.pxu @@ -679,6 +679,8 @@ flags: also-after-suspend command: alsa_test loopback -d 5 category_id: com.canonical.plainbox::audio estimated_duration: 5 +imports: from com.canonical.plainbox import manifest +requires: manifest.has_audio_loopback_connector == 'True' id: audio/alsa-loopback _summary: Captured sound matches played one diff --git a/units/audio/manifest.pxu b/units/audio/manifest.pxu index 95417f6..d3e285b 100644 --- a/units/audio/manifest.pxu +++ b/units/audio/manifest.pxu @@ -13,3 +13,9 @@ unit: manifest entry id: has_audio_capture _name: Audio capture value-type: bool + +unit: manifest entry +id: has_audio_loopback_connector +prompt: Does this device have the following?: +_name: Audio Loopback Connector +value-type: bool |