bionic/tests
Elliott Hughes c3f114037d <pthread.h> fixes and pthread cleanup.
<pthread.h> was missing nonnull attributes, noreturn on pthread_exit,
and had incorrect cv qualifiers for several standard functions.

I've also marked the non-standard stuff (where I count glibc rather
than POSIX as "standard") so we can revisit this cruft for LP64 and
try to ensure we're compatible with glibc.

I've also broken out the pthread_cond* functions into a new file.

I've made the remaining pthread files (plus ptrace) part of the bionic code
and fixed all the warnings.

I've added a few more smoke tests for chunks of untested pthread functionality.

We no longer need the libc_static_common_src_files hack for any of the
pthread implementation because we long since stripped out the rest of
the armv5 support, and this hack was just to ensure that __get_tls in libc.a
went via the kernel if necessary.

This patch also finishes the job of breaking up the pthread.c monolith, and
adds a handful of new tests.

Change-Id: Idc0ae7f5d8aa65989598acd4c01a874fe21582c7
2013-10-31 12:31:16 -07:00
..
Android.mk Update running bionic unit tests on host. 2013-10-25 10:23:12 -07:00
benchmark_main.cpp Improve benchmarking tool, add a few math benchmarks. 2013-02-06 15:47:09 -08:00
benchmark.h 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 Wrap sprintf()/snprintf() macros to prevent expansion errors. 2013-10-11 12:14:49 -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 Fix some test assumptions that are wrong for __LP64__. 2013-10-18 13:17:18 -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 Change hard-coded temporary directory. 2013-08-15 12:54:40 -07:00
pthread_test.cpp <pthread.h> fixes and pthread cleanup. 2013-10-31 12:31:16 -07:00
regex_test.cpp Switch to the current NetBSD regex implementation. 2012-08-15 15:39:11 -07:00
sched_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
ScopedSignalHandler.h Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
signal_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00
stack_protector_test.cpp fix unittests. 2013-06-11 15:45:23 -07:00
stack_unwinding_test_impl.c Fix clang warnings in bionic. 2013-10-11 16:20:08 -07:00
stack_unwinding_test.cpp Kernel dso support for 'dl_iterate_phdr' function 2013-06-25 13:12:39 -07:00
statvfs_test.cpp Fix statvfs tests for the host. 2013-10-21 19:27:19 -07:00
stdio_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -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 ssse3 implementation of __memcmp16. 2013-08-02 17:57:23 -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
sys_epoll_test.cpp Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
sys_select_test.cpp Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
sys_sendfile_test.cpp Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
sys_stat_test.cpp Make sure we have a mkfifo symbol. 2013-10-22 12:03:19 -07:00
sys_time_test.cpp Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
system_properties_test.cpp Fix the system property tests to use $ANDROID_DATA. 2013-10-21 17:40:15 -07:00
TemporaryFile.h Fix some test assumptions that are wrong for __LP64__. 2013-10-18 13:17:18 -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 Fix the time unit tests for systems with 64-bit time_t. 2013-10-18 16:21:54 -07:00
unistd_test.cpp Fix up failing glibc tests. 2013-10-29 14:55:11 -07:00