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 Provide O_SEARCH 2020-02-02 16:34:57 +00:00
db
gen libc: tests: hook CPUSET(9) test up to the build 2020-12-31 12:26:01 -06:00
hash
iconv lib/libc/tests/iconv: raise WARNS to 6 2020-09-24 21:42:44 +00:00
inet
locale
net Fix filename to avoid skipping lib/libc/net/servent test. 2019-07-15 23:41:00 +00:00
nss libc/nss tests: Add regression tests for commit 55444c823e1f 2021-01-21 14:30:19 -05:00
regex build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
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 Avoid copying too much from the input string. 2019-07-19 23:58:30 +00:00
sys jail: allow root to implicitly widen its cpuset to attach 2021-03-01 12:38:31 -06:00
termios
time
tls
tls_dso Update Makefile.depend files 2019-12-11 17:37:53 +00:00
ttyio
Makefile
Makefile.depend
Makefile.netbsd-tests