From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Unit/regression testing (was Re: [musl] Priorities for next release?)
Date: Fri, 10 Aug 2012 15:39:32 -0400 [thread overview]
Message-ID: <20120810193932.GC27715@brightrain.aerifal.cx> (raw)
In-Reply-To: <50255FA5.2090506@gmail.com>
On Fri, Aug 10, 2012 at 12:23:17PM -0700, Nathan McSween wrote:
> >Other requests?
>
> Unit tests of some sort, it helps to document the code as well as
> stop some regressions.
There are already a number of different tests; see:
http://nsz.repo.hu/git/
http://git.etalabs.net/cgi-bin/cgit.cgi
https://github.com/lmarcetic/cluts
for some that were developed specifically with musl in mind. We've
also been using:
http://posixtest.sourceforge.net/
but it's rather outdated and incorrect in some areas.
I've intentionally kept tests out of the main musl source tree for two
reasons: For one thing, I want to avoid burdening non-developers who
just want to download musl to use it with unnecessary download/storage
bulk. But the other reason is that I want the majority of libc test
cases to be libc-agnostic, i.e. designed to run against any libc, not
just musl. In that case, including them as part of musl feels wrong. I
do however also want to develop some musl-specific regression tests
for things that can't be tested in a generic way: things like ensuring
that static linking doesn't pull in modules it shouldn't, that
unnecessary syscall overhead at startup doesn't creep in, or that
musl-specific QoI guarantees are preserved (such as certain interfaces
not taking superlinear time or being async-signal-safe even when not
required by POSIX).
As to how testing relates to this release thread, I think development
of further major tests is outside the realm of the immediate sort of
release priorities I was asking about. But it's something I've been
wanting to pursue again for a long time, and I'd be quite happy to
find contributors interested in working on it.
Rich
next prev parent reply other threads:[~2012-08-10 19:39 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 19:12 Priorities for next release? Rich Felker
2012-08-10 19:23 ` Nathan McSween
2012-08-10 19:39 ` Rich Felker [this message]
2012-08-10 22:03 ` Luca Barbato
2012-08-11 0:05 ` Rich Felker
2012-08-11 0:54 ` Luca Barbato
2012-08-11 1:07 ` Rich Felker
2012-08-11 2:21 ` idunham
2012-08-11 2:36 ` Rich Felker
2012-08-11 12:21 ` Daniel Cegiełka
2012-08-11 12:27 ` Rich Felker
2012-08-11 12:35 ` Daniel Cegiełka
2012-08-11 16:09 ` Rich Felker
2012-08-11 16:35 ` Daniel Cegiełka
2012-08-11 16:50 ` Rich Felker
2012-08-11 17:55 ` orc
2012-08-11 18:41 ` Daniel Cegiełka
2012-08-11 18:47 ` orc
2012-08-11 19:05 ` Daniel Cegiełka
2012-08-11 19:28 ` Rich Felker
2012-08-11 19:56 ` Rich Felker
2012-08-11 20:26 ` Daniel Cegiełka
2012-08-11 20:51 ` Rich Felker
2012-08-11 20:56 ` Rich Felker
2012-08-11 21:22 ` Rich Felker
2012-08-12 12:52 ` Daniel Cegiełka
2012-08-11 22:25 ` Rich Felker
2012-08-12 12:40 ` Szabolcs Nagy
2012-08-13 8:40 ` Luca Barbato
2012-08-13 13:41 ` Rich Felker
2012-08-13 15:49 ` Szabolcs Nagy
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=20120810193932.GC27715@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).