X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=README;h=ce2ba8e949c9bbc77d14cfe10d107a7c366f1f4c;hb=4282b03a8c212b0e38af1876364be5f332673ce6;hp=80ca81e0fec649f66c465d74f0b89290c6f7c1a1;hpb=7d87d3f6a765bea943beb384f9bbf359e3768c0a;p=libc-test diff --git a/README b/README index 80ca81e..ce2ba8e 100644 --- a/README +++ b/README @@ -1,16 +1,15 @@ -simple libc tests based on the libc-testsuit -and libc-bench of dalias +simple libc tests +based on the libc-testsuit and libc-bench of dalias see http://git.etalabs.net/cgi-bin/gitweb.cgi -see http://www.etalabs.net/libc-bench.html build tests: - cp Makefile.conf.def Makefile.conf - # edit Makefile.conf + cp dist/config.mak . + # edit config.mak make run tests: - ./t + make t run benchmarks: - ./b + make b framework: @@ -18,10 +17,6 @@ the only hook in the test framework is error(...) which prints a formatted message and sets the test to failed see common/test.h -in the root directory make builds an executable with all tests -in a src/* directory make builds only local tests -see Makefile.inc - a test function looks like void test_foo() { if (foo != 42) @@ -29,7 +24,6 @@ a test function looks like } extern functions with name ~ /^test/ are recognized to be test functions -see Makefile.inc a benchmark function looks like void bench_foo(int N) { @@ -37,8 +31,8 @@ a benchmark function looks like foo(); } benchmark functions are repeatedly called with an increasing -N until the runing time is long enough, then time/N is printed +N until the running time is long enough, then time/N is printed -edit the generated tests.h to exclude certain tests -see common/t.c for tests -see common/b.c for benchmarks +see Makefile.inc for build system details +see common/t.c for test details +see common/b.c for benchmark details