mailing list of musl libc
 help / color / mirror / code / Atom feed
* test framework
@ 2011-07-29 13:18 Szabolcs Nagy
  2011-07-29 15:32 ` Solar Designer
  0 siblings, 1 reply; 2+ messages in thread
From: Szabolcs Nagy @ 2011-07-29 13:18 UTC (permalink / raw)
  To: musl

now that cluts has many tests i was started to
think how to put these into a framework so it's
easy to add new tests

imho it is a tiny bit more convenient than just
writing functions which return nonzero on error

i also added benchmarking support now
(some tests and benchmarks were added from
libc-testsuit and libc-bench)

http://repo.or.cz/w/musl-test.git

the idea of iterative benchmarking until elapsed
time is large enough is from the go testing
package, i'm not sure if this is the right
approach (for the malloc benchmarks it is not)

(makefile is uglier than it should be because i
still haven't fixed my musl-gcc)

finally: i added short int and int division
benchmarks to verify a discussion on irc :)

comments are welome


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-29 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-29 13:18 test framework Szabolcs Nagy
2011-07-29 15:32 ` Solar Designer

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).