android_bionic/tests
Elliott Hughes 1510a1c1ae Fix the setjmp tests for mips.
Although the LP32 mips sigset_t is large enough to represent all signals,
their jmp_buf is too small. This test succeeded on arm and x86 because the
RT signals were never in the 'expected' sigset_t, so the equality comparison
with the 'actual' sigset_t worked fine --- everyone was blind to the RT
signal. On mips the tests fail because the 'expected' sigset_t does contain
the RT signal but the 'actual' doesn't because the jmp_buf only saves and
restores the first 32 signals.

There are 32 free bits (currently used as padding) in the LP32 mips jmp_buf,
and they might choose to use those to provide better support than the other
two platforms, but I'll leave that to them. It will be easy to just remove
the #if defined(__LP64__) from this change in that case.

For mips64 it's not to late to increase the size of the jmp_buf and fix
the setjmp family, but since there are decisions to be made here for LP32,
I'll leave it all to Imagination folks...

Bug: 16918359
Change-Id: I6b723712fce0e9210dafa165d8599d950b2d3500
2014-12-10 11:48:19 -08:00
..
libs Count references for groups instead of instances 2014-12-02 10:54:26 -08:00
Android.build.mk Yet another relocation test 2014-11-19 10:39:05 -08:00
Android.mk Implement <pty.h>. 2014-12-03 15:55:34 -08:00
BionicDeathTest.h make all bionic death tests not dumpable 2014-11-06 11:09:03 -08:00
ScopedSignalHandler.h support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
TemporaryFile.h
arpa_inet_test.cpp
atexit_test.cpp
buffer_tests.cpp
buffer_tests.h
complex_test.cpp Fix our <complex.h> support. 2014-11-06 11:16:55 -08:00
ctype_test.cpp
dirent_test.cpp implement missing seekdir and telldir 2014-11-07 10:20:32 -08:00
dl_test.cpp
dlext_test.cpp
dlfcn_test.cpp Count references for groups instead of instances 2014-12-02 10:54:26 -08:00
eventfd_test.cpp
fcntl_test.cpp
fenv_test.cpp
file-check-cxx
fortify_sprintf_warnings.cpp
fortify_test.cpp make all bionic death tests not dumpable 2014-11-06 11:09:03 -08:00
ftw_test.cpp Make the ftw(3) tests a bit more thorough. 2014-11-19 15:47:53 -08:00
getauxval_test.cpp
getcwd_test.cpp
gtest_ex.h Rename test_forked -> test_isolated 2014-11-20 22:53:59 -08:00
inttypes_test.cpp
libc_logging_test.cpp
libgen_test.cpp
locale_test.cpp Fix newlocale with a NULL locale name. 2014-11-04 18:03:44 -08:00
malloc_test.cpp
math_cos_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_cosf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_data_test.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_exp_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_expf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_log_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_logf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_pow_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_powf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_sin_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_sincos_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_sincosf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_sinf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_tan_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_tanf_intel_data.h Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
math_test.cpp Improve math tests to allow a specific ulp bound. 2014-11-04 18:00:02 -08:00
mntent_test.cpp Fix our <mntent.h> implementation. 2014-11-13 15:51:36 -08:00
netdb_test.cpp Add getaddrinfo(3) tests for NULL arguments. 2014-11-16 12:14:04 -08:00
pthread_test.cpp support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
pty_test.cpp Implement <pty.h>. 2014-12-03 15:55:34 -08:00
regex_test.cpp
sched_test.cpp
search_test.cpp
semaphore_test.cpp
setjmp_test.cpp Fix the setjmp tests for mips. 2014-12-10 11:48:19 -08:00
signal_test.cpp support _POSIX_REALTIME_SIGNALS 2014-12-08 21:52:43 -08:00
sstream_test.cpp
stack_protector_test.cpp make all bionic death tests not dumpable 2014-11-06 11:09:03 -08:00
stack_unwinding_test.cpp restore sigprocmask in setjmp/longjmp test. 2014-12-02 10:35:25 -08:00
stdatomic_test.cpp
stdint_test.cpp
stdio_ext_test.cpp
stdio_test.cpp Avoid pathological behavior in OpenBSD's fread. 2014-12-02 14:22:02 -08:00
stdlib_test.cpp Add POSIX lcong48. 2014-11-06 14:14:37 -08:00
string_posix_strerror_r_test.cpp Fix glibc 2.15 build. 2014-11-12 19:31:21 -08:00
string_test.cpp Add align/overread tests for strlcpy/strlcat. 2014-11-10 13:58:17 -08:00
strings_test.cpp Implement all the POSIX _l functions. 2014-11-06 15:52:22 -08:00
stubs_test.cpp fix shared gid support in getpwnam/getgrnam 2014-11-18 19:58:04 -08:00
sys_epoll_test.cpp
sys_mman_test.cpp implement posix_madvise 2014-12-04 11:01:28 -08:00
sys_resource_test.cpp Fix glibc 2.15 build. 2014-11-12 19:31:21 -08:00
sys_select_test.cpp
sys_sendfile_test.cpp
sys_socket_test.cpp Assume glibc >= 2.15. 2014-11-12 21:03:26 -08:00
sys_stat_test.cpp
sys_statvfs_test.cpp
sys_syscall_test.cpp
sys_sysinfo_test.cpp Add functions in sysinfo.h. 2014-11-14 16:22:48 -08:00
sys_time_test.cpp
sys_types_test.cpp
sys_vfs_test.cpp
system_properties_test.cpp make all bionic death tests not dumpable 2014-11-06 11:09:03 -08:00
time_test.cpp support _POSIX_CPUTIME 2014-11-26 17:14:50 -08:00
uchar_test.cpp
uniqueptr_test.cpp
unistd_test.cpp Merge "support _POSIX_REALTIME_SIGNALS" 2014-12-09 20:10:19 +00:00
utmp_test.cpp Implement <pty.h>. 2014-12-03 15:55:34 -08:00
wchar_test.cpp Add missing function prototypes wcpcpy/wcpncpy. 2014-11-13 18:56:12 -08:00