freebsd-dev/lib/libc/tests
Alex Richardson 85425bdc5a resolv_test: Fix racy exit check, remove mutexes, and reduce output
Instead of polling nleft[i] (without appropriate memory barriers!) and
using sleep() to detect the exit just call pthread_join() on all threads.

Also replace the use of a mutex that guarding the increments with atomic
fetch_add. This should reduce the runtime of this test on SMP systems.

Finally, remove all the debug printfs unless DEBUG_OUTPUT is set in
the environment.

Test Plan:	still fails sometimes on qemu (but maybe less often?)
Reviewed By:	jhb
Differential Revision: https://reviews.freebsd.org/D29390
2021-03-30 15:00:18 +01:00
..
c063
db
gen
hash
iconv
inet
locale
net
nss libc/nss tests: Add regression tests for commit 55444c823e1f 2021-01-21 14:30:19 -05:00
regex
resolv resolv_test: Fix racy exit check, remove mutexes, and reduce output 2021-03-30 15:00:18 +01:00
rpc
setjmp
ssp Allow using sanitizers for ssp tests with out-of-tree compiler 2021-03-12 17:15:33 +00:00
stdio AArch64: Don't set flush-subnormals-to-zero flag on startup 2021-03-01 14:27:30 +00:00
stdlib Remove remaining uses of ${COMPILER_FEATURES:Mc++11} 2021-01-19 21:37:36 +00:00
string
sys jail: allow root to implicitly widen its cpuset to attach 2021-03-01 12:38:31 -06:00
termios
time
tls
tls_dso
ttyio
Makefile
Makefile.depend
Makefile.netbsd-tests