libc-test
10 years agoprintf oob regression test
Szabolcs Nagy [Sat, 5 Apr 2014 23:37:24 +0000 (01:37 +0200)]
printf oob regression test

10 years agofix malloc-brk-fail (missing include)
Szabolcs Nagy [Mon, 31 Mar 2014 12:34:09 +0000 (14:34 +0200)]
fix malloc-brk-fail (missing include)

10 years agoregression test for brk failing in malloc
Szabolcs Nagy [Mon, 31 Mar 2014 10:58:43 +0000 (12:58 +0200)]
regression test for brk failing in malloc

10 years agosimplify sigaltstack test
Szabolcs Nagy [Wed, 19 Mar 2014 04:55:22 +0000 (05:55 +0100)]
simplify sigaltstack test

10 years agosigaltstack regression test
Szabolcs Nagy [Wed, 19 Mar 2014 04:36:54 +0000 (05:36 +0100)]
sigaltstack regression test

10 years agosign-extend regression test for x32
Szabolcs Nagy [Tue, 18 Mar 2014 23:25:49 +0000 (00:25 +0100)]
sign-extend regression test for x32

10 years agofix snprintf float testcase (uncovered by a recent printf bug fix)
Szabolcs Nagy [Thu, 13 Mar 2014 19:36:49 +0000 (20:36 +0100)]
fix snprintf float testcase (uncovered by a recent printf bug fix)

10 years agoadd statvfs regression test
Szabolcs Nagy [Wed, 12 Mar 2014 18:52:35 +0000 (19:52 +0100)]
add statvfs regression test

10 years agoadd memfill.c
Szabolcs Nagy [Mon, 3 Mar 2014 08:40:47 +0000 (09:40 +0100)]
add memfill.c

10 years agofix runtest: report if sigtimedwait fails
Szabolcs Nagy [Fri, 21 Feb 2014 16:14:42 +0000 (17:14 +0100)]
fix runtest: report if sigtimedwait fails

10 years agoremquol: use remquo tests when long double == double
Szabolcs Nagy [Fri, 21 Feb 2014 08:40:44 +0000 (09:40 +0100)]
remquol: use remquo tests when long double == double

10 years agochange vmfill into memfill that limits heap separately (needed on arm)
Szabolcs Nagy [Sat, 15 Feb 2014 00:41:49 +0000 (01:41 +0100)]
change vmfill into memfill that limits heap separately (needed on arm)

10 years agoadd memset(buf, -5, 10) test
Szabolcs Nagy [Tue, 11 Feb 2014 22:22:06 +0000 (23:22 +0100)]
add memset(buf, -5, 10) test

see https://sourceware.org/bugzilla/show_bug.cgi?id=16554

10 years ago_XOPEN_SOURCE is not needed in fdopen.c test
Szabolcs Nagy [Fri, 7 Feb 2014 18:36:06 +0000 (19:36 +0100)]
_XOPEN_SOURCE is not needed in fdopen.c test

10 years agoadd ftello regression test
Szabolcs Nagy [Fri, 7 Feb 2014 18:23:02 +0000 (19:23 +0100)]
add ftello regression test

10 years agoadd simple iconv_open test
Szabolcs Nagy [Thu, 30 Jan 2014 20:10:02 +0000 (21:10 +0100)]
add simple iconv_open test

10 years agoadd tls_init_dlopen test and fix tls_align_dlopen.mk so it is run properly
Szabolcs Nagy [Mon, 27 Jan 2014 13:17:28 +0000 (14:17 +0100)]
add tls_init_dlopen test and fix tls_align_dlopen.mk so it is run properly

10 years agomath/gen: yet another little decimal formatting tool
Szabolcs Nagy [Mon, 27 Jan 2014 13:15:56 +0000 (14:15 +0100)]
math/gen: yet another little decimal formatting tool

10 years agoonly test exec* and _exit after vfork, raise is not required to work
Szabolcs Nagy [Wed, 8 Jan 2014 02:35:26 +0000 (03:35 +0100)]
only test exec* and _exit after vfork, raise is not required to work

10 years agoadd vfork test
Szabolcs Nagy [Wed, 8 Jan 2014 02:02:12 +0000 (03:02 +0100)]
add vfork test

10 years agomath: add drem and dremf tests
Szabolcs Nagy [Tue, 7 Jan 2014 13:12:51 +0000 (14:12 +0100)]
math: add drem and dremf tests

10 years agofix breakage due to the .exe change, add error flags to config.mak.def
Szabolcs Nagy [Tue, 7 Jan 2014 13:11:40 +0000 (14:11 +0100)]
fix breakage due to the .exe change, add error flags to config.mak.def

10 years agoadd .gitignore, all executables have .exe extension
Szabolcs Nagy [Mon, 6 Jan 2014 23:20:33 +0000 (00:20 +0100)]
add .gitignore, all executables have .exe extension

10 years agoadd argv test and update env test
Szabolcs Nagy [Fri, 27 Dec 2013 01:48:54 +0000 (01:48 +0000)]
add argv test and update env test

10 years agosimple clock_gettime test
Szabolcs Nagy [Thu, 26 Dec 2013 17:14:30 +0000 (17:14 +0000)]
simple clock_gettime 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