automated: linux: add alsa-smoke test

The test uses alsa-utils tools aplay and arecord to find whether any
playback and record devices are available in the system. If the test
runs on an OS without package manager and no alsa-utils available it
will fall back to look for character devices named "controlCX" where X
is a number. This is the same approach that alsa-utils uses. The default
path to look for devices is /dev/snd/

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@oss.qualcomm.com>
2 files changed
tree: d8e084203fa5ad349b5232080b4405e66de88c61
  1. .github/
  2. .reuse/
  3. automated/
  4. docs/
  5. LICENSES/
  6. manual/
  7. mkdocs_plugin/
  8. plans/
  9. test/
  10. .gitignore
  11. .readthedocs.yml
  12. COPYING
  13. COPYRIGHTS
  14. mkdocs.yml
  15. README.md
  16. sanity-check.sh
  17. test.sh
  18. validate.py
README.md

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs