From: Theodore Tso <tytso@mit.edu>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org,
Robert Schweikert <rschweikert@novell.com>
Subject: Re: LSB inclusion of ALSA
Date: Fri, 19 Jun 2009 08:45:44 -0400 [thread overview]
Message-ID: <20090619124544.GF31377@mit.edu> (raw)
In-Reply-To: <4A38AED6.4060009@ladisch.de>
On Wed, Jun 17, 2009 at 10:52:38AM +0200, Clemens Ladisch wrote:
> Takashi Iwai wrote:
> > Yes, I mentioned about this in the last conf call with LSB guys.
> >
> > Another candidate is alsa-lib file plugin (and null plugin). They can
> > be used to simulate in a certain level of I/O.
>
> I don't think that LSB guarantees the availability of these plugins
> either. (And they don't get the timing correct, but maybe we don't care
> about that.)
That's not necessarily fatal, *if* the LSB sound tests can include the
plugin in question. Is the plugin interface a stable, published
interface? That is, is it guaranteed to remain stable from release to
release of ALSA? If so, then the test suite can provide the plugin,
just for the purposes of running the test.
> > From the LSB perspective, I suppose, the API compatibility is the
> > biggest issue. The functionality, either working or not on the real
> > hardware, is a subsystem bug. And, the subtle tests would be likely
> > needed done manually with the real hardware.
This is true, but some kind of minimal functionality testing is often
useful to make sure that the *meaning* of the parameters haven't
changed. For example, to take an extreme example, if a library were
to accidentally change a long to "long long" in a function signature,
but because of how other parameters and what happened to be in the
registers on an x86 system, the program might not crash, and if were
testing with a no-op output function for the program, we might not
notice a problem.
So it's nice to be able to do a semantic test "does this function
actually do roughly what it is spec'ed to do", and not just a simple
API test. On the other hand, we also recognize that perfection can
require far more resources than are available, so often we have to
settle for a basic test.
- Ted
next prev parent reply other threads:[~2009-06-19 12:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-12 17:56 LSB inclusion of ALSA Robert Schweikert
2009-06-16 11:59 ` Clemens Ladisch
2009-06-17 8:16 ` Takashi Iwai
2009-06-17 8:52 ` Clemens Ladisch
2009-06-19 12:07 ` Robert Schweikert
2009-06-19 12:45 ` Theodore Tso [this message]
2009-06-19 13:43 ` Clemens Ladisch
2009-06-19 11:39 ` Robert Schweikert
2009-06-19 13:43 ` Clemens Ladisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090619124544.GF31377@mit.edu \
--to=tytso@mit.edu \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=rschweikert@novell.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.