projects
/
libc-test
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dc655a9
)
readme update
author
nsz
<nsz@port70.net>
Fri, 29 Jul 2011 11:45:07 +0000
(13:45 +0200)
committer
nsz
<nsz@port70.net>
Fri, 29 Jul 2011 11:45:07 +0000
(13:45 +0200)
README
patch
|
blob
|
history
diff --git
a/README
b/README
index
635966d
..
856e2a8
100644
(file)
--- 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:
see http://git.etalabs.net/cgi-bin/gitweb.cgi
build tests:
@@
-7,6
+8,8
@@
build tests:
make
run tests:
./t
make
run tests:
./t
+run benchmarks:
+ ./b
about the framework:
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
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
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 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