test: Add PCM interface tests

Add tests for various features of the PCM interface. The goal is to
maximize coverage of the corresponding kernel code. The tests use a
loopback device and require snd-aloop kernel module to be loaded.
This commit is contained in:
Shmuel Melamud 2023-06-26 04:12:21 +03:00
parent 96f60d829f
commit a19db1e5ad
6 changed files with 526 additions and 2 deletions

View file

@ -0,0 +1,6 @@
TESTS = pcm
check_PROGRAMS = $(TESTS)
noinst_HEADERS = test.h
AM_CFLAGS = -Wall -pipe
LDADD = ../../src/libasound.la