libc-test
10 years agomath: only report at most one <2ulp error for acosh and asinh
Szabolcs Nagy [Thu, 5 Dec 2013 01:52:13 +0000 (01:52 +0000)]
math: only report at most one <2ulp error for acosh and asinh

10 years agoadd iswspace(0) regression test
Szabolcs Nagy [Thu, 5 Dec 2013 01:25:31 +0000 (01:25 +0000)]
add iswspace(0) regression test

10 years agofix fnmatch flag printing and add a few new (regression) test cases
Szabolcs Nagy [Thu, 5 Dec 2013 01:18:56 +0000 (01:18 +0000)]
fix fnmatch flag printing and add a few new (regression) test cases

10 years agofix pointer to int cast in functional/search_hsearch.c
Szabolcs Nagy [Thu, 5 Dec 2013 01:14:03 +0000 (01:14 +0000)]
fix pointer to int cast in functional/search_hsearch.c

10 years agofix fgetwc test in api/wchar.c
Szabolcs Nagy [Thu, 5 Dec 2013 01:04:52 +0000 (01:04 +0000)]
fix fgetwc test in api/wchar.c

10 years agomath: add some further fenv rounding mode tests
Szabolcs Nagy [Mon, 28 Oct 2013 21:34:47 +0000 (21:34 +0000)]
math: add some further fenv rounding mode tests

10 years agofix api tests (add some obsolete symbols fix wchar tests)
Szabolcs Nagy [Thu, 24 Oct 2013 13:17:48 +0000 (13:17 +0000)]
fix api tests (add some obsolete symbols fix wchar tests)

10 years agoinet_pton: long leading zero sequence is invalid in IPv6
Szabolcs Nagy [Wed, 23 Oct 2013 02:19:13 +0000 (02:19 +0000)]
inet_pton: long leading zero sequence is invalid in IPv6

10 years agofix functional/inet_pton (inet_ntop returns NULL on failure)
Szabolcs Nagy [Tue, 22 Oct 2013 03:08:02 +0000 (03:08 +0000)]
fix functional/inet_pton (inet_ntop returns NULL on failure)

10 years agoadd inet_addr and inet_ntoa tests
Szabolcs Nagy [Tue, 22 Oct 2013 02:55:53 +0000 (02:55 +0000)]
add inet_addr and inet_ntoa tests

10 years agomore inet_pton test cases
Szabolcs Nagy [Mon, 21 Oct 2013 23:05:42 +0000 (23:05 +0000)]
more inet_pton test cases

10 years agoadd inet_pton (and inet_ntop) functional tests
Szabolcs Nagy [Mon, 21 Oct 2013 22:19:54 +0000 (22:19 +0000)]
add inet_pton (and inet_ntop) functional tests

10 years agoadd an inet_pton regression test
Szabolcs Nagy [Sat, 19 Oct 2013 23:16:33 +0000 (23:16 +0000)]
add an inet_pton regression test

10 years agoregression: mbsrtowcs test
Szabolcs Nagy [Tue, 8 Oct 2013 02:18:20 +0000 (02:18 +0000)]
regression: mbsrtowcs test

10 years agomath: emit less errors for known broken functions
Szabolcs Nagy [Mon, 7 Oct 2013 19:04:01 +0000 (19:04 +0000)]
math: emit less errors for known broken functions

10 years agoregression: malloc oom errno test
Szabolcs Nagy [Sat, 5 Oct 2013 14:05:05 +0000 (14:05 +0000)]
regression: malloc oom errno test

10 years agoregression: setenv-oom test
Szabolcs Nagy [Sat, 5 Oct 2013 14:04:45 +0000 (14:04 +0000)]
regression: setenv-oom test

10 years agoregression: execle test
Szabolcs Nagy [Thu, 3 Oct 2013 15:46:55 +0000 (15:46 +0000)]
regression: execle test

10 years agoregression: inet_ntop test
Szabolcs Nagy [Sun, 29 Sep 2013 17:45:49 +0000 (17:45 +0000)]
regression: inet_ntop test

10 years agomath: add comparision macro tests (isless etc)
Szabolcs Nagy [Fri, 27 Sep 2013 17:45:43 +0000 (17:45 +0000)]
math: add comparision macro tests (isless etc)

10 years agofix vmfill.c
Szabolcs Nagy [Fri, 27 Sep 2013 17:45:04 +0000 (17:45 +0000)]
fix vmfill.c

10 years agoregression: add invalid ld80 printf test
Szabolcs Nagy [Fri, 27 Sep 2013 17:43:28 +0000 (17:43 +0000)]
regression: add invalid ld80 printf test

10 years agoregression: invalid ld80 fpclassify tests
Szabolcs Nagy [Thu, 5 Sep 2013 19:02:52 +0000 (19:02 +0000)]
regression: invalid ld80 fpclassify tests

10 years agomath: atanh special cases
Szabolcs Nagy [Thu, 5 Sep 2013 18:34:03 +0000 (18:34 +0000)]
math: atanh special cases

10 years agomath: add an expm1l special case
Szabolcs Nagy [Thu, 5 Sep 2013 12:34:15 +0000 (12:34 +0000)]
math: add an expm1l special case

10 years agomath: correct-rounding check in remainder functions and 1ulp check in hypot
Szabolcs Nagy [Thu, 5 Sep 2013 11:33:07 +0000 (11:33 +0000)]
math: correct-rounding check in remainder functions and 1ulp check in hypot

10 years agomath: add some special case tests
Szabolcs Nagy [Thu, 5 Sep 2013 11:31:56 +0000 (11:31 +0000)]
math: add some special case tests

10 years agomath: test cases for rounding functions
Szabolcs Nagy [Tue, 3 Sep 2013 01:00:51 +0000 (01:00 +0000)]
math: test cases for rounding functions

10 years agofix fenv.c tests according to a new interpretation of the standard
Szabolcs Nagy [Sun, 18 Aug 2013 20:18:11 +0000 (20:18 +0000)]
fix fenv.c tests according to a new interpretation of the standard

10 years agotest fenv functions with bad arguments
Szabolcs Nagy [Sun, 18 Aug 2013 13:01:12 +0000 (13:01 +0000)]
test fenv functions with bad arguments

10 years agoremove accidentally committed core, add festenv, fegetenv test
Szabolcs Nagy [Fri, 16 Aug 2013 23:50:14 +0000 (23:50 +0000)]
remove accidentally committed core, add festenv, fegetenv test

10 years agomath: fix long double fpclassify tests for ldbl==dbl archs
Szabolcs Nagy [Thu, 15 Aug 2013 20:41:57 +0000 (20:41 +0000)]
math: fix long double fpclassify tests for ldbl==dbl archs

10 years agomath: fix lrint, lround, nexttoward tests for ldbl==dbl and no fenv
Szabolcs Nagy [Thu, 15 Aug 2013 19:42:56 +0000 (19:42 +0000)]
math: fix lrint, lround, nexttoward tests for ldbl==dbl and no fenv

10 years agoipc tests: check time intervals (with upper bound)
Szabolcs Nagy [Thu, 15 Aug 2013 18:16:42 +0000 (18:16 +0000)]
ipc tests: check time intervals (with upper bound)

10 years agoatan2 underflow tests
Szabolcs Nagy [Thu, 15 Aug 2013 17:12:42 +0000 (17:12 +0000)]
atan2 underflow tests

10 years agomath: fenv status flag fixes
Szabolcs Nagy [Mon, 12 Aug 2013 19:57:42 +0000 (19:57 +0000)]
math: fenv status flag fixes
all flags are checked for tecorrectly rounded functions except
inexact for fma
all flags but inexact are tested for other functions
fix pow(0,-inf) test case (should raise divbyzero, mpfr bug)
add underflow related testcases

10 years agoadd related commit to raise-race test
Szabolcs Nagy [Fri, 9 Aug 2013 01:48:21 +0000 (01:48 +0000)]
add related commit to raise-race test

10 years agoadd more error checks in raise-race test
Szabolcs Nagy [Fri, 9 Aug 2013 01:35:21 +0000 (01:35 +0000)]
add more error checks in raise-race test

10 years agoregression test for a race in raise
Szabolcs Nagy [Fri, 9 Aug 2013 01:12:23 +0000 (01:12 +0000)]
regression test for a race in raise

10 years agopthread_rwlock regression test
Szabolcs Nagy [Thu, 8 Aug 2013 19:21:22 +0000 (19:21 +0000)]
pthread_rwlock regression test

10 years agotest for old pthread_once regression with approximate deadlock check
Szabolcs Nagy [Thu, 8 Aug 2013 18:01:16 +0000 (18:01 +0000)]
test for old pthread_once regression with approximate deadlock check

10 years agoadd test for pthread mutex types
Szabolcs Nagy [Thu, 8 Aug 2013 17:09:27 +0000 (17:09 +0000)]
add test for pthread mutex types

10 years agoadd pthread_condattr_setclock regression test
Szabolcs Nagy [Tue, 6 Aug 2013 00:30:10 +0000 (00:30 +0000)]
add pthread_condattr_setclock regression test

10 years agofix search_tsearch test
Szabolcs Nagy [Mon, 5 Aug 2013 16:45:04 +0000 (16:45 +0000)]
fix search_tsearch test

10 years agounnamed semaphore test
Szabolcs Nagy [Mon, 5 Aug 2013 15:59:48 +0000 (15:59 +0000)]
unnamed semaphore test

10 years agosimple random test (statistical with very low failure probability)
Szabolcs Nagy [Sat, 3 Aug 2013 02:06:20 +0000 (02:06 +0000)]
simple random test (statistical with very low failure probability)

10 years agosimple search.h tests
Szabolcs Nagy [Sat, 3 Aug 2013 02:05:14 +0000 (02:05 +0000)]
simple search.h tests

10 years agodon't use _LARGE_FILE in the default config
Szabolcs Nagy [Fri, 2 Aug 2013 01:35:14 +0000 (01:35 +0000)]
don't use _LARGE_FILE in the default config

10 years agoadd exp10l test case (1e-15)
Szabolcs Nagy [Thu, 1 Aug 2013 23:41:42 +0000 (23:41 +0000)]
add exp10l test case (1e-15)

10 years agoadd RUN_WRAP make var to run tests in qemu (app level emulation)
Szabolcs Nagy [Thu, 1 Aug 2013 23:39:34 +0000 (23:39 +0000)]
add RUN_WRAP make var to run tests in qemu (app level emulation)

10 years agofix local makefiles to make it possible to rebuild binaries
Szabolcs Nagy [Thu, 1 Aug 2013 23:36:58 +0000 (23:36 +0000)]
fix local makefiles to make it possible to rebuild binaries

10 years agostring tests (memcpy, memset)
Szabolcs Nagy [Thu, 1 Aug 2013 22:29:14 +0000 (22:29 +0000)]
string tests (memcpy, memset)

10 years agoadd crypt tests for md5crypt, bcrypt and shacrypt
Szabolcs Nagy [Thu, 1 Aug 2013 22:25:44 +0000 (22:25 +0000)]
add crypt tests for md5crypt, bcrypt and shacrypt

10 years agomath/scalb* max scale test cases
Szabolcs Nagy [Mon, 29 Jul 2013 17:51:43 +0000 (17:51 +0000)]
math/scalb* max scale test cases

10 years agoRUN_WRAP can be used to run tests in qemu
Szabolcs Nagy [Sun, 28 Jul 2013 15:08:47 +0000 (15:08 +0000)]
RUN_WRAP can be used to run tests in qemu

10 years agoupdate api tests with options
Szabolcs Nagy [Fri, 26 Jul 2013 23:34:07 +0000 (23:34 +0000)]
update api tests with options
so far ifdefs were only added for options that musl does not support

10 years agoadd options.h.in to generate posix option group defines
Szabolcs Nagy [Fri, 26 Jul 2013 18:05:41 +0000 (18:05 +0000)]
add options.h.in to generate posix option group defines

10 years agomake Makefile debugging less painful (turn off some builtin implicit rules)
Szabolcs Nagy [Fri, 26 Jul 2013 17:45:16 +0000 (17:45 +0000)]
make Makefile debugging less painful (turn off some builtin implicit rules)

10 years agoregression: rewind should clear error flag
Szabolcs Nagy [Fri, 26 Jul 2013 16:47:03 +0000 (16:47 +0000)]
regression: rewind should clear error flag

10 years agorename run to runtest so src/common/run make target does not collide
Szabolcs Nagy [Fri, 26 Jul 2013 16:45:35 +0000 (16:45 +0000)]
rename run to runtest so src/common/run make target does not collide

10 years agoMakefile fix: define RANLIB in makefile, more robust DIRS definition
Szabolcs Nagy [Fri, 26 Jul 2013 13:37:46 +0000 (13:37 +0000)]
Makefile fix: define RANLIB in makefile, more robust DIRS definition

10 years agoMakefile workaround for wildcard not doing glob properly
Szabolcs Nagy [Thu, 25 Jul 2013 06:45:14 +0000 (06:45 +0000)]
Makefile workaround for wildcard not doing glob properly

10 years agomakefile change: B variable is the build directory
Szabolcs Nagy [Wed, 24 Jul 2013 19:17:55 +0000 (19:17 +0000)]
makefile change: B variable is the build directory
(REPORT is created under $(B) so under src by default not at top level)

10 years agouse t_setrlim in the run command
Szabolcs Nagy [Wed, 24 Jul 2013 02:47:29 +0000 (02:47 +0000)]
use t_setrlim in the run command

10 years agomore comment to the malloc(0) test
Szabolcs Nagy [Wed, 24 Jul 2013 02:46:12 +0000 (02:46 +0000)]
more comment to the malloc(0) test

10 years agoMakefile changes, run target only reruns dynamic tests
Szabolcs Nagy [Wed, 24 Jul 2013 02:41:25 +0000 (02:41 +0000)]
Makefile changes, run target only reruns dynamic tests

10 years agomove config.mak to config.mak.def (so user can freely change it)
Szabolcs Nagy [Sun, 21 Jul 2013 21:50:16 +0000 (21:50 +0000)]
move config.mak to config.mak.def (so user can freely change it)

10 years agoadd run wrapper, move t_printf and t_status into separate translation unit
Szabolcs Nagy [Sun, 21 Jul 2013 21:44:41 +0000 (21:44 +0000)]
add run wrapper, move t_printf and t_status into separate translation unit

10 years agoadd some CFLAGS to prevent false warnings
Szabolcs Nagy [Sat, 20 Jul 2013 22:19:14 +0000 (22:19 +0000)]
add some CFLAGS to prevent false warnings
(config.mak should not be under version control it will be fixed
when the build system stabilizes)

10 years agofix fwscanf test (don't use wide and byte io in the same FILE)
Szabolcs Nagy [Sat, 20 Jul 2013 22:17:26 +0000 (22:17 +0000)]
fix fwscanf test (don't use wide and byte io in the same FILE)

10 years agofix parallel build of ipc tests (for make -jN)
Szabolcs Nagy [Sat, 20 Jul 2013 21:11:08 +0000 (21:11 +0000)]
fix parallel build of ipc tests (for make -jN)

10 years agofix t_fdfill so it does not use much kernel side resources
Szabolcs Nagy [Sat, 20 Jul 2013 21:05:07 +0000 (21:05 +0000)]
fix t_fdfill so it does not use much kernel side resources

10 years agofix: LIBS have libtest.a dependency as well
Szabolcs Nagy [Sat, 20 Jul 2013 18:11:09 +0000 (18:11 +0000)]
fix: LIBS have libtest.a dependency as well

10 years agoadd feature test macros to non-c99 math tests
Szabolcs Nagy [Sat, 20 Jul 2013 18:00:42 +0000 (18:00 +0000)]
add feature test macros to non-c99 math tests

10 years agoremove old functional/test.h
Szabolcs Nagy [Sat, 20 Jul 2013 16:15:40 +0000 (16:15 +0000)]
remove old functional/test.h

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