libc-test
10 years agoremove old math/util code (already moved to common/)
Szabolcs Nagy [Sat, 20 Jul 2013 16:07:06 +0000 (16:07 +0000)]
remove old math/util code (already moved to common/)

10 years agonew test system
Szabolcs Nagy [Sat, 20 Jul 2013 15:02:37 +0000 (15:02 +0000)]
new test system

10 years agoadd the BUILD variable to the makefiles to control the build root
Szabolcs Nagy [Mon, 8 Jul 2013 13:05:12 +0000 (13:05 +0000)]
add the BUILD variable to the makefiles to control the build root

10 years agoreadme update
Szabolcs Nagy [Mon, 8 Jul 2013 13:04:50 +0000 (13:04 +0000)]
readme update

10 years agosetjmp clean up
Szabolcs Nagy [Mon, 8 Jul 2013 10:34:14 +0000 (10:34 +0000)]
setjmp clean up

10 years agosplit pthread test into several files
Szabolcs Nagy [Mon, 8 Jul 2013 09:50:16 +0000 (09:50 +0000)]
split pthread test into several files

10 years agosimplify test.h
Szabolcs Nagy [Sat, 6 Jul 2013 16:23:34 +0000 (16:23 +0000)]
simplify test.h

10 years agofix parens in test macros
Szabolcs Nagy [Sat, 6 Jul 2013 10:47:10 +0000 (10:47 +0000)]
fix parens in test macros

10 years agoadd new tests from libc-testsuit (fcntl, f[w]scanf, setjmp, socket, stat)
Szabolcs Nagy [Fri, 5 Jul 2013 22:12:13 +0000 (22:12 +0000)]
add new tests from libc-testsuit (fcntl, f[w]scanf, setjmp, socket, stat)

10 years agoMakefile comment about the LDLIBS+= workaround
Szabolcs Nagy [Fri, 5 Jul 2013 20:32:02 +0000 (20:32 +0000)]
Makefile comment about the LDLIBS+= workaround

10 years agoMakefile clean up and static linking support
Szabolcs Nagy [Fri, 5 Jul 2013 20:20:54 +0000 (20:20 +0000)]
Makefile clean up and static linking support

10 years agoqsort: add extensive tests for short arrays
Szabolcs Nagy [Fri, 5 Jul 2013 14:53:57 +0000 (14:53 +0000)]
qsort: add extensive tests for short arrays

10 years agofix warnings, no stdio buffering in test error messages
Szabolcs Nagy [Fri, 5 Jul 2013 13:30:19 +0000 (13:30 +0000)]
fix warnings, no stdio buffering in test error messages

10 years agorename
Szabolcs Nagy [Fri, 5 Jul 2013 07:39:28 +0000 (07:39 +0000)]
rename

10 years agomath: add readme about ulp check tool
Szabolcs Nagy [Wed, 3 Jul 2013 20:08:26 +0000 (20:08 +0000)]
math: add readme about ulp check tool

10 years agomath: cleaner makefile for the test case generator
Szabolcs Nagy [Wed, 3 Jul 2013 20:06:38 +0000 (20:06 +0000)]
math: cleaner makefile for the test case generator

10 years agoremove obsolete README comment
Szabolcs Nagy [Wed, 3 Jul 2013 19:20:35 +0000 (19:20 +0000)]
remove obsolete README comment

10 years agomath: fix cr check, stricter except check
Szabolcs Nagy [Wed, 3 Jul 2013 19:04:08 +0000 (19:04 +0000)]
math: fix cr check, stricter except check

10 years agoapi: use SS and PS options properly in sched.c
Szabolcs Nagy [Sat, 29 Jun 2013 07:30:06 +0000 (07:30 +0000)]
api: use SS and PS options properly in sched.c

10 years agominor cleanups
Szabolcs Nagy [Fri, 28 Jun 2013 20:23:26 +0000 (20:23 +0000)]
minor cleanups
* timer_t is not necessarily a numeric type
* pthread_cleanup_* may not be defined as function
* use #ifdef instead of #if when possible

10 years agogen tools: add tox
Szabolcs Nagy [Fri, 24 May 2013 15:31:25 +0000 (15:31 +0000)]
gen tools: add tox

10 years agomath tests: fma underflow cases
Szabolcs Nagy [Sun, 19 May 2013 17:28:21 +0000 (17:28 +0000)]
math tests: fma underflow cases

10 years agofix broken fma tests (due to mpfr bugs)
Szabolcs Nagy [Sun, 19 May 2013 00:56:01 +0000 (00:56 +0000)]
fix broken fma tests (due to mpfr bugs)

10 years agoadding fma tests and various hard cases for bessel and erfc
Szabolcs Nagy [Sat, 18 May 2013 16:16:58 +0000 (16:16 +0000)]
adding fma tests and various hard cases for bessel and erfc

11 years agogeneral: simple tgmath test
Szabolcs Nagy [Sat, 15 Dec 2012 09:52:15 +0000 (10:52 +0100)]
general: simple tgmath test

11 years agomath: fix long double ulperror calculation
Szabolcs Nagy [Fri, 14 Dec 2012 17:40:44 +0000 (18:40 +0100)]
math: fix long double ulperror calculation

11 years agomath: add random float generator to gen, make check work for ulp tests
Szabolcs Nagy [Fri, 14 Dec 2012 17:39:30 +0000 (18:39 +0100)]
math: add random float generator to gen, make check work for ulp tests

11 years agomath: new testcases (acos, asin, atan, expl, lgamma, tgamma)
Szabolcs Nagy [Fri, 14 Dec 2012 17:38:05 +0000 (18:38 +0100)]
math: new testcases (acos, asin, atan, expl, lgamma, tgamma)

11 years agomath: logb needs to be correctly rounded
Szabolcs Nagy [Sat, 8 Dec 2012 21:04:44 +0000 (22:04 +0100)]
math: logb needs to be correctly rounded

11 years agomath: regenerate all math tests
Szabolcs Nagy [Sat, 24 Nov 2012 14:58:55 +0000 (15:58 +0100)]
math: regenerate all math tests

gen used exp range limitation to get ieee semantics but
mpfr seems to have problems with it (eg gamma(next(-180))
incorrectly underflows) so different strategy is used:
use full exp range and only narrow it before converting
the result

now the error term uses nearest rounding and sign difference
is treated as inf ulp error during tests

added helper tools to convert between float formats

11 years agomath: add fenv test and new 'add' function in gen
Szabolcs Nagy [Sun, 18 Nov 2012 21:33:27 +0000 (22:33 +0100)]
math: add fenv test and new 'add' function in gen

11 years agomath: fix makefile so .o files are kept
Szabolcs Nagy [Sun, 18 Nov 2012 21:32:45 +0000 (22:32 +0100)]
math: fix makefile so .o files are kept

11 years agomath: add test vectors for exp functions
Szabolcs Nagy [Sun, 18 Nov 2012 21:31:17 +0000 (22:31 +0100)]
math: add test vectors for exp functions

11 years agomath: remove float-store flag, add exp2 and asinhl tests
Szabolcs Nagy [Sat, 17 Nov 2012 11:17:45 +0000 (12:17 +0100)]
math: remove float-store flag, add exp2 and asinhl tests

11 years agomath: fix nexttoward and nexttowardf tests
Szabolcs Nagy [Tue, 13 Nov 2012 10:02:55 +0000 (11:02 +0100)]
math: fix nexttoward and nexttowardf tests

11 years agomath: fix the type of the return value
Szabolcs Nagy [Tue, 13 Nov 2012 09:16:00 +0000 (10:16 +0100)]
math: fix the type of the return value

11 years agomath: fix frexp (don't check iptr when it's not specified)
Szabolcs Nagy [Mon, 12 Nov 2012 21:36:54 +0000 (22:36 +0100)]
math: fix frexp (don't check iptr when it's not specified)

11 years agomath: fix some invalid checks (remquo, lrint, lround, y0, y1, yn)
Szabolcs Nagy [Mon, 12 Nov 2012 21:00:52 +0000 (22:00 +0100)]
math: fix some invalid checks (remquo, lrint, lround, y0, y1, yn)

11 years agomath: in lgamma* only check signgam when it's specified
Szabolcs Nagy [Mon, 12 Nov 2012 20:06:43 +0000 (21:06 +0100)]
math: in lgamma* only check signgam when it's specified

11 years agomath/gen: fix fma fenv flags on nan
Szabolcs Nagy [Mon, 12 Nov 2012 19:49:27 +0000 (20:49 +0100)]
math/gen: fix fma fenv flags on nan

11 years agomath: add special case test vectors
Szabolcs Nagy [Mon, 12 Nov 2012 18:46:40 +0000 (19:46 +0100)]
math: add special case test vectors

11 years agomath/gen: fix ilogb, logb and modf in mp, change integer print fmt
Szabolcs Nagy [Sun, 11 Nov 2012 21:53:47 +0000 (22:53 +0100)]
math/gen: fix ilogb, logb and modf in mp, change integer print fmt

11 years agoapi: add stdbool and stddef
Szabolcs Nagy [Sat, 3 Nov 2012 20:51:05 +0000 (21:51 +0100)]
api: add stdbool and stddef

11 years agomath: ldexp, modf, nearbyint, scalb are correctly rounded
Szabolcs Nagy [Thu, 1 Nov 2012 13:59:36 +0000 (14:59 +0100)]
math: ldexp, modf, nearbyint, scalb are correctly rounded

11 years agomath: fdim is correctly rounded
Szabolcs Nagy [Thu, 1 Nov 2012 13:52:04 +0000 (14:52 +0100)]
math: fdim is correctly rounded

11 years agomath: brief readme
Szabolcs Nagy [Thu, 1 Nov 2012 13:34:44 +0000 (14:34 +0100)]
math: brief readme

11 years agomath: fpclassify test
Szabolcs Nagy [Thu, 1 Nov 2012 13:32:30 +0000 (14:32 +0100)]
math: fpclassify test

11 years agogeneral: add sysv ipc shm test, fix ipc_msg and update sem test
Szabolcs Nagy [Sun, 28 Oct 2012 18:20:59 +0000 (19:20 +0100)]
general: add sysv ipc shm test, fix ipc_msg and update sem test

11 years agogeneral: update the semaphore test
Szabolcs Nagy [Sun, 28 Oct 2012 02:00:01 +0000 (03:00 +0100)]
general: update the semaphore test

11 years agogeneral: fix snprintf and swprintf format tests
Szabolcs Nagy [Fri, 26 Oct 2012 23:32:16 +0000 (01:32 +0200)]
general: fix snprintf and swprintf format tests

11 years agomath: do correctly rounded checks where it's appropriate
Szabolcs Nagy [Thu, 25 Oct 2012 20:56:48 +0000 (22:56 +0200)]
math: do correctly rounded checks where it's appropriate

11 years agogeneral: simple sysv ipc sem test
Szabolcs Nagy [Wed, 24 Oct 2012 00:11:03 +0000 (02:11 +0200)]
general: simple sysv ipc sem test

11 years agoapi: add run target
nsz [Mon, 22 Oct 2012 19:13:19 +0000 (21:13 +0200)]
api: add run target

11 years agofix a printf format in ipc_msg
nsz [Mon, 22 Oct 2012 19:11:10 +0000 (21:11 +0200)]
fix a printf format in ipc_msg

11 years agogeneral: add memmem and strstr tests
nsz [Mon, 22 Oct 2012 19:03:55 +0000 (21:03 +0200)]
general: add memmem and strstr tests

11 years agocleanup in ipc_msg test, update some string tests
nsz [Mon, 22 Oct 2012 18:25:17 +0000 (20:25 +0200)]
cleanup in ipc_msg test, update some string tests

11 years agogeneral: don't stop on build failure
nsz [Mon, 22 Oct 2012 18:17:07 +0000 (20:17 +0200)]
general: don't stop on build failure

11 years agogeneral: add ipc_msg test
nsz [Mon, 22 Oct 2012 18:08:10 +0000 (20:08 +0200)]
general: add ipc_msg test

11 years agoapi: use macro for fmtmsg and ndbm ifdef
nsz [Mon, 22 Oct 2012 17:06:33 +0000 (19:06 +0200)]
api: use macro for fmtmsg and ndbm ifdef

11 years agoapi: declarative makefile
nsz [Mon, 22 Oct 2012 17:00:00 +0000 (19:00 +0200)]
api: declarative makefile

11 years agoreorganize makefile
nsz [Mon, 22 Oct 2012 16:31:00 +0000 (18:31 +0200)]
reorganize makefile

11 years agoapi: redirect make errors to stdout
nsz [Mon, 22 Oct 2012 16:28:50 +0000 (18:28 +0200)]
api: redirect make errors to stdout

11 years agoapi: ifdef out fmtmsg.c and ndbm.c, fix stupid gcc messages
nsz [Mon, 22 Oct 2012 16:26:45 +0000 (18:26 +0200)]
api: ifdef out fmtmsg.c and ndbm.c, fix stupid gcc messages

11 years agoput everything back to one directory
nsz [Sun, 21 Oct 2012 20:03:11 +0000 (22:03 +0200)]
put everything back to one directory

11 years agoapi: ifdef out some posix options
nsz [Sun, 21 Oct 2012 12:22:15 +0000 (14:22 +0200)]
api: ifdef out some posix options

11 years agoapi: fix unistd.h
nsz [Sat, 20 Oct 2012 21:36:53 +0000 (23:36 +0200)]
api: fix unistd.h

11 years agoapi: fix some prototype checks
nsz [Sat, 20 Oct 2012 21:23:24 +0000 (23:23 +0200)]
api: fix some prototype checks

11 years agoapi: shorten function checks (and put each into a different scope)
nsz [Sat, 20 Oct 2012 21:20:02 +0000 (23:20 +0200)]
api: shorten function checks (and put each into a different scope)

11 years agoapi: add remaining functions
nsz [Sat, 20 Oct 2012 20:57:06 +0000 (22:57 +0200)]
api: add remaining functions

11 years agoapi: add stdarg .. sys/uio
nsz [Fri, 19 Oct 2012 22:18:26 +0000 (00:18 +0200)]
api: add stdarg .. sys/uio

11 years agoapi: add spawn, don't include headers into function scope
nsz [Tue, 16 Oct 2012 22:27:02 +0000 (00:27 +0200)]
api: add spawn, don't include headers into function scope

11 years agoapi: fix limits.c
nsz [Sun, 14 Oct 2012 22:57:17 +0000 (00:57 +0200)]
api: fix limits.c

11 years agoapi: remove obsolete xsi functions from ctype, fix typo in netinet_in
nsz [Sun, 14 Oct 2012 21:01:25 +0000 (23:01 +0200)]
api: remove obsolete xsi functions from ctype, fix typo in netinet_in

11 years agoapi: add sched.c .. signal.c
nsz [Sun, 14 Oct 2012 20:49:47 +0000 (22:49 +0200)]
api: add sched.c .. signal.c

11 years agoapi: add monetary.c .. regex.c
nsz [Sun, 14 Oct 2012 19:27:03 +0000 (21:27 +0200)]
api: add monetary.c .. regex.c

11 years agoapi: add float limits locale math
nsz [Sun, 14 Oct 2012 17:03:35 +0000 (19:03 +0200)]
api: add float limits locale math

11 years agoapi: add iso646, langinfo and libgen
nsz [Sun, 14 Oct 2012 02:50:46 +0000 (04:50 +0200)]
api: add iso646, langinfo and libgen

11 years agoapi: posix header test
nsz [Sun, 14 Oct 2012 02:26:00 +0000 (04:26 +0200)]
api: posix header test

11 years agocosmetic fixes
nsz [Sat, 13 Oct 2012 19:29:39 +0000 (21:29 +0200)]
cosmetic fixes

11 years agomath: add jn and yn
nsz [Sat, 13 Oct 2012 17:35:16 +0000 (19:35 +0200)]
math: add jn and yn

11 years agomath: add remquo and fma
nsz [Sat, 13 Oct 2012 16:12:15 +0000 (18:12 +0200)]
math: add remquo and fma

11 years agomath: add modf and sincos
nsz [Sat, 13 Oct 2012 15:07:30 +0000 (17:07 +0200)]
math: add modf and sincos

11 years agomath: fix float->int functions
nsz [Sat, 13 Oct 2012 14:02:42 +0000 (16:02 +0200)]
math: fix float->int functions

11 years agomath: fix float->int functions
nsz [Sat, 13 Oct 2012 13:58:09 +0000 (15:58 +0200)]
math: fix float->int functions

11 years agomath: add lrint, lround
nsz [Sat, 13 Oct 2012 13:54:33 +0000 (15:54 +0200)]
math: add lrint, lround

11 years agomath: fix nexttoward*
nsz [Sat, 13 Oct 2012 13:25:46 +0000 (15:25 +0200)]
math: fix nexttoward*

11 years agomath: add nextafter*, nextoward* and scalb to gen
nsz [Sat, 13 Oct 2012 13:17:51 +0000 (15:17 +0200)]
math: add nextafter*, nextoward* and scalb to gen

11 years agomath: fix util for fenv without rounding modes
nsz [Thu, 11 Oct 2012 21:42:21 +0000 (23:42 +0200)]
math: fix util for fenv without rounding modes

11 years agomath: add ilogb, fix f_fi tests
nsz [Thu, 11 Oct 2012 20:36:31 +0000 (22:36 +0200)]
math: add ilogb, fix f_fi tests

11 years agoldso: dlopen test
nsz [Thu, 11 Oct 2012 19:48:20 +0000 (21:48 +0200)]
ldso: dlopen test

11 years agomath: add fenv pragma, relax the error check, simplify util.h
nsz [Tue, 9 Oct 2012 18:51:22 +0000 (20:51 +0200)]
math: add fenv pragma, relax the error check, simplify util.h

11 years agomath: add some float f(float,int) and some float f(float,int*) tests
nsz [Tue, 9 Oct 2012 13:53:07 +0000 (15:53 +0200)]
math: add some float f(float,int) and some float f(float,int*) tests

11 years agothread: use unsigned (long) instead of size_t in tls_align test
nsz [Mon, 8 Oct 2012 08:16:29 +0000 (10:16 +0200)]
thread: use unsigned (long) instead of size_t in tls_align test

11 years agofix the nonbin hack in Makefile.inc
nsz [Sun, 7 Oct 2012 20:09:51 +0000 (22:09 +0200)]
fix the nonbin hack in Makefile.inc

11 years agoupdate readme
nsz [Sun, 7 Oct 2012 20:04:24 +0000 (22:04 +0200)]
update readme

11 years agomath: use separate makefile
nsz [Sun, 7 Oct 2012 19:53:52 +0000 (21:53 +0200)]
math: use separate makefile

11 years agomath: print file:line in the error msg, fix nearbyint tests
nsz [Sun, 7 Oct 2012 19:20:43 +0000 (21:20 +0200)]
math: print file:line in the error msg, fix nearbyint tests

11 years agomath: fix test vectors for logb
nsz [Sun, 7 Oct 2012 18:58:32 +0000 (20:58 +0200)]
math: fix test vectors for logb

11 years agomath: fix mpfr code for ld80 long double functions
nsz [Sun, 7 Oct 2012 18:36:57 +0000 (20:36 +0200)]
math: fix mpfr code for ld80 long double functions

11 years agofix math test gen script
nsz [Sun, 7 Oct 2012 18:30:57 +0000 (20:30 +0200)]
fix math test gen script