platform_bionic/tests
Elliott Hughes b95cf0d23a Fix pthread_getattr_np, pthread_attr_setguardsize, and pthread_attr_setstacksize.
pthread_getattr_np was reporting the values supplied to us, not the values we
actually used, which is kinda the whole point of pthread_getattr_np.

pthread_attr_setguardsize and pthread_attr_setstacksize were reporting EINVAL
for any size that wasn't a multiple of the system page size. This is
unnecessary. We can just round like POSIX suggests and glibc already does.

Also improve the error reporting for pthread_create failures.

Change-Id: I7ebc518628a8a1161ec72e111def911d500bba71
2013-07-15 14:51:07 -07:00
..
Android.mk Add <sys/statvfs.h>. 2013-07-09 13:25:03 -07:00
benchmark.h Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
benchmark_main.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
dirent_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
dlfcn_test.cpp Don't test GNU-style ELF hashes on MIPS. 2013-01-07 14:44:36 -08:00
empty.cpp Reject .so files with no sysv hash table. 2012-10-31 14:30:50 -07:00
eventfd_test.cpp Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a 2013-04-03 11:10:37 -07:00
fenv_test.cpp Upgrade libm. 2013-02-01 14:51:19 -08:00
fortify_test.cpp More FORTIFY_SOURCE functions under clang 2013-06-29 08:16:22 -07:00
getauxval_test.cpp libc: add getauxval() 2013-01-11 16:44:15 -08:00
getcwd_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
inttypes_test.cpp Fix inttypes.h PRI?PTR and SCN?PTR macros. 2013-07-02 15:35:27 -07:00
libc_logging_test.cpp Clean up internal libc logging. 2013-03-15 16:12:58 -07:00
libgen_test.cpp Clean up the <libgen.h> implementation a little, bring in tests. 2012-10-29 14:27:10 -07:00
malloc_test.cpp Implement malloc_usable_size for debug impls. 2013-06-07 14:55:32 -07:00
math_benchmark.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
math_test.cpp Put the right number of Ls after 64-bit constants. 2013-02-12 20:18:49 -08:00
netdb_test.cpp Update getnameinfo.c, remove dead code, and fix error reporting. 2013-02-13 13:11:11 -08:00
property_benchmark.cpp bionic: revert to a single (larger) property area 2013-06-24 16:35:37 -07:00
pthread_test.cpp Fix pthread_getattr_np, pthread_attr_setguardsize, and pthread_attr_setstacksize. 2013-07-15 14:51:07 -07:00
regex_test.cpp Switch to the current NetBSD regex implementation. 2012-08-15 15:39:11 -07:00
signal_test.cpp Fix raise(3) so it works in signal handlers. 2013-02-21 11:22:23 -08:00
stack_protector_test.cpp fix unittests. 2013-06-11 15:45:23 -07:00
stack_unwinding_test.cpp Kernel dso support for 'dl_iterate_phdr' function 2013-06-25 13:12:39 -07:00
stack_unwinding_test_impl.c Kernel dso support for 'dl_iterate_phdr' function 2013-06-25 13:12:39 -07:00
statvfs_test.cpp Add <sys/statvfs.h>. 2013-07-09 13:25:03 -07:00
stdio_test.cpp Start moving to current FreeBSD stdio. 2013-04-11 13:55:01 -07:00
stdlib_test.cpp Switch to current FreeBSD qsort. 2013-04-11 18:08:34 -07:00
string_benchmark.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
string_test.cpp Add tests for __strcpy_chk() 2013-06-04 11:55:08 -07:00
strings_test.cpp Everyone has CLZ. 2013-02-13 14:40:48 -08:00
stubs_test.cpp Fix __pthread_clone on ARM to set errno on failure. 2013-02-11 16:39:10 -08:00
system_properties_test.cpp bionic: revert to a single (larger) property area 2013-06-24 16:35:37 -07:00
time_benchmark.cpp Cache the most-recently used timezone for mktime_tz and localtime_tz. 2013-03-11 17:17:02 -07:00
time_test.cpp Add a trivial gmtime(3) test. 2013-07-12 11:25:20 -07:00
unistd_test.cpp Remove bogus extra alignment from sbrk. 2013-02-05 16:10:59 -08:00