2 based on the libc-testsuit and libc-bench of dalias
3 see http://git.etalabs.net/cgi-bin/gitweb.cgi
6 cp Makefile.conf.def Makefile.conf
16 the only hook in the test framework is error(...) which
17 prints a formatted message and sets the test to failed
20 in the root directory make builds an executable with all tests
21 in a src/* directory make builds only local tests
24 a test function looks like
27 error("foo=%d expected 42\n", foo);
29 extern functions with name ~ /^test/ are recognized to be
33 a benchmark function looks like
34 void bench_foo(int N) {
35 for (i = 0; i < N; i++)
38 benchmark functions are repeatedly called with an increasing
39 N until the runing time is long enough, then time/N is printed
41 edit the generated tests.h to exclude certain tests
42 see common/t.c for tests
43 see common/b.c for benchmarks