blob: 8e1f2930e4bf28898032996b1eb342b89640502b [file] [log] [blame]
##---------------------------------------------------------------------------
## These test core error checking, eg. "silly values" for malloc/calloc,
## pthread errors (and suppressions), signal handling errors, invalid fds for
## blocking syscalls, etc.
##---------------------------------------------------------------------------
noinst_SCRIPTS = filter_stderr
EXTRA_DIST = $(noinst_SCRIPTS) \
erringfds.stderr.exp erringfds.stdout.exp erringfds.vgtest \
pth_atfork1.stderr.exp pth_atfork1.stdout.exp pth_atfork1.vgtest \
pth_cancel2.stderr.exp pth_cancel2.vgtest \
pth_cvsimple.stderr.exp pth_cvsimple.stdout.exp pth_cvsimple.vgtest \
pth_empty.stderr.exp pth_empty.vgtest \
pth_mutexspeed.stderr.exp \
pth_mutexspeed.stdout.exp pth_mutexspeed.vgtest \
pth_once.stderr.exp pth_once.stdout.exp pth_once.vgtest \
sigkill.stderr.exp sigkill.vgtest
check_PROGRAMS = \
erringfds sigkill \
pth_atfork1 pth_cancel2 pth_cvsimple pth_empty \
pth_mutexspeed pth_once
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O0
AM_CXXFLAGS = $(AM_CFLAGS)
# C ones
erringfds_SOURCES = erringfds.c
sigkill_SOURCES = sigkill.c
# Pthread ones
pth_atfork1_SOURCES = pth_atfork1.c
pth_atfork1_LDADD = -lpthread
pth_cancel2_SOURCES = pth_cancel2.c
pth_cancel2_LDADD = -lpthread
pth_cvsimple_SOURCES = pth_cvsimple.c
pth_cvsimple_LDADD = -lpthread
pth_empty_SOURCES = pth_empty.c
pth_empty_LDADD = -lpthread
pth_mutexspeed_SOURCES = pth_mutexspeed.c
pth_mutexspeed_LDADD = -lpthread
pth_once_SOURCES = pth_once.c
pth_once_LDADD = -lpthread