2 based on the libc-testsuit and libc-bench of dalias
3 see http://git.etalabs.net/cgi-bin/gitweb.cgi
16 the only hook in the test framework is error(...) which
17 prints a formatted message and sets the test to failed
20 a test function looks like
23 error("foo=%d expected 42\n", foo);
25 extern functions with name ~ /^test/ are recognized to be
28 a benchmark function looks like
29 void bench_foo(int N) {
30 for (i = 0; i < N; i++)
33 benchmark functions are repeatedly called with an increasing
34 N until the running time is long enough, then time/N is printed
36 see Makefile.inc for build system details
37 see common/t.c for test details
38 see common/b.c for benchmark details