[alsa-devel] LSB inclusion of ALSA

Clemens Ladisch clemens at ladisch.de
Fri Jun 19 15:43:24 CEST 2009

Robert Schweikert wrote:
> Clemens Ladisch wrote:
> > While many parts of the library can be tested without special hardware
> > (config, sequencer+MIDI, timers), the parts that are most likely to be
> > used (PCM, mixer) require at least some kernel driver and contain many
> > functions that are used to handle hardware differences.
> Understood, but this is functional testing (current tests seem to cover
> this) and would required the appropriate hardware (a gazilion sound
> cards). LSB makes no guarantees that the drivers exist and have no bugs.
> LSB does strive to guarantee that a particular interface exists and
> behaves as specified.
> So for interfaces that require a driver one could test that an
> appropriate error condition is returned if no driver exists, and we
> could test that no error condition is triggered when a dummy driver is
> connected. Correct?


This would require that the test suite has the capability to load and
unload kernel modules.  Could this ever be a problem?

Best regards,

More information about the Alsa-devel mailing list