Uh oh!
There was an error while loading. Please reload this page.
add User space test cases (version2) - #479
Conversation
There was a problem hiding this comment.
Very quick and incomplete review.
The code is very readable, thanks! but I'm wondering whether all of it is really needed, especially the long pactl parser
Maybe there's no need for that much manual error handling either, relying on the defaults could be enough.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
xiulipan
commented
Dec 3, 2020
@libinyang Ping for update or close. |
Add the helper function to check whether pulseaudio runs properly or not. Signed-off-by: Libin Yang <libin.yang@intel.com>
Check the pulseaudio card info to make sure the card is ready. Signed-off-by: Libin Yang <libin.yang@intel.com>
Add the tool pactlinfo.py to parse the pactl list information Signed-off-by: Libin Yang <libin.yang@intel.com>
This test case will go through all the sinks on the tested cards, and try to paplay it if the active port is not "not available" Signed-off-by: Libin Yang <libin.yang@intel.com>
This test case will go through all the sources on the tested cards, and try to parecord it if the active port is not "not available" Signed-off-by: Libin Yang <libin.yang@intel.com>
libinyang
commented
Dec 25, 2020
All the feedbacks are ACKed except the 'timeout' issue keeps open. |
libinyang
commented
Jan 11, 2021
ping for review |
a lot of changes have been made from the first version. And we have a full talk about the implementation. So open a new thread based on @marc-hb 's suggestion. The old version can be found: #363
This patchset includes:
check-userspace-cardinfo: check pulseaudio can parse the ucm correctly and exports the correct card
check-userspace-paplay: go through all the active sinks and play on it if port is available
check-userspace-parecord: go through all the active sources and record on it if port is available