Hash :
740f873e
Author :
Date :
2024-06-29T13:28:14
tests: Avoid test failures due to VirtualBox specific bug. * tests/virtualbox.h: New file. * tests/test-pthread-cond.c: Include virtualbox.h. (main): Skip the test under VirtualBox with KVM paravirtualization and more than 1 CPU. * tests/test-cnd.c: Include virtualbox.h. (main): Skip the test under VirtualBox with KVM paravirtualization and more than 1 CPU. * tests/test-cond.c: Include virtualbox.h. (main): Skip the test under VirtualBox with KVM paravirtualization and more than 1 CPU. * tests/test-pthread_sigmask1.c: Include virtualbox.h. (main): Skip the test under VirtualBox with KVM paravirtualization and more than 1 CPU. * tests/test-pthread_sigmask2.c: Include virtualbox.h. (main): Skip the test under VirtualBox with KVM paravirtualization and more than 1 CPU. * tests/test-sigprocmask.c: Include virtualbox.h. (main): Skip the test under VirtualBox with KVM paravirtualization and more than 1 CPU. * modules/pthread-cond-tests (Files): Add tests/virtualbox.h. * modules/cnd-tests (Files): Likewise. * modules/cond-tests (Files): Likewise. * modules/pthread_sigmask-tests (Files): Likewise. * modules/sigprocmask-tests (Files): Likewise.
Files:
tests/test-sigprocmask.c
tests/signature.h
tests/virtualbox.h
tests/macros.h
Depends-on:
inttypes
sleep
test-xfail
configure.ac:
Makefile.am:
# Work around https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57213
if !OS_IS_NETBSD
TESTS += test-sigprocmask
endif
check_PROGRAMS += test-sigprocmask