From: nsz Date: Fri, 29 Jul 2011 11:45:07 +0000 (+0200) Subject: readme update X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=commitdiff_plain;h=d14d36762cc2131357345f960f7bdf86af140af8 readme update --- diff --git a/README b/README index 635966d..856e2a8 100644 --- a/README +++ b/README @@ -1,4 +1,5 @@ -simple libc tests based on the libc-testsuit of dalias +simple libc tests based on the libc-testsuit +and libc-bench of dalias see http://git.etalabs.net/cgi-bin/gitweb.cgi build tests: @@ -7,6 +8,8 @@ build tests: make run tests: ./t +run benchmarks: + ./b about the framework: @@ -14,6 +17,9 @@ the only hook in the test framework is error(...) which prints a formatted message and sets the test to failed see common/test.h +benchmark functions are repeatedly called with increasing +N until runing time is long enough, then time/N is printed + in the root dir make builds an executable with all tests in a src/* dir make builds only local tests see Makefile.inc @@ -28,4 +34,5 @@ test functions see Makefile.inc edit the generated main.h to exclude certain tests -see common/main.c +see common/t.c for tests +see common/b.c for benchmarks