From: TJ Olaes <contact@olaes.net>
To: alsa-devel@alsa-project.org
Subject: Stupid question #1 of many -- unit test harness?
Date: Mon, 15 Apr 2013 00:44:29 +0000 (UTC) [thread overview]
Message-ID: <loom.20130415T023733-422@post.gmane.org> (raw)
Hi.
So, I'm attempting to write the driver for the eClaro card for a couple of
reasons, one of which is that I currently don't have sound on mine.
So... is there some kind of test harness framework for new drivers? I have
no prior idea how to move forward to build this thing, so I'm snooping around
in the oxygen source files and trying to copy things that look like they make
sense. For instance, I noted that there's mention of an "AK4396" related to
output. I assume this is some kind of chip, and I saw in the Claro code that
something called "ak4396_init(...)" is called, so I just copied that line and
pasted it into the eclaro_init(...) function I'm writing.
I have no idea how I'm going to test this short of just compiling the kernel
and booting into it. I feel like that's the brute-force, non-smart way to do
it, and that you guys who've been doing this for a while might have ideas and
recommendations on how to better test my code so I'm not rebooting my machine
each time I change a line and recompile.
I'd appreciate your guidance, community. Thanks.
-TJ
next reply other threads:[~2013-04-15 0:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 0:44 TJ Olaes [this message]
2013-04-15 14:38 ` Stupid question #1 of many -- unit test harness? 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=loom.20130415T023733-422@post.gmane.org \
--to=contact@olaes.net \
--cc=alsa-devel@alsa-project.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox