Martin Kroeker
33bb4b98a4
Improve error message output from the fork() utest ( #4753 )
* Add perror to report the reason for a fork failure
* reword the malloc failure message
1 year ago
Martin Kroeker
30e8d255de
Skip the fork test when building against an uClibc that does not implement fork
1 year ago
Alexander Grund
a05dc6e62b
Add reproducer test for crash after fork
See #2993 for an analysis
4 years ago
Martin Kroeker
63d7dad04c
Adapt utests for builds supportin only some variable types
5 years ago
Jerome Robert
b095f2fad6
Fix unknown type name __WAIT_STATUS on RHEL5
With glibc 2.5 one must have #define _XOPEN_SOURCE >= 500 to use wait.
But reading glibc code this is actually needed only if stdlib.h was
included before sys/wait.h. This was the case here through
openblas_utest.h. So changing include fix compilation on RHEL5 and
should ne hurt with more recent distro.
* Problem found when using with gcc 5.5 and 4.7.2 on RHEL5/CENTOS5
* Fix #1519
7 years ago
oon3m0oo
2aa0a5804e
Use BLAS rather than CBLAS in test_fork.c ( #1626 )
This is handy for people not using lapack.
7 years ago
Martin Kroeker
734d7c6a93
Include sys/types.h for proper typedefs related to wait()
Should fix #1519
7 years ago
Erik M. Bray
ce2028b425
Rewrite this test to work with ctest and re-enable it on the appropriate platforms (including Cygwin, which has fork())
7 years ago
Zhang Xianyi
2fb02626da
Update organization info.
11 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Olivier Grisel
a14f98ca7c
Make sure that fork_test.c is not built under windows
11 years ago
Olivier Grisel
138a841390
FIX #294 : make OpenBLAS thread-pool resilient to fork via pthread_atfork
11 years ago