Mark Wielaard bfd28bb9f8 Remove more warnings from tests
GCC12 catches various issues in tests at compile time that we want to
catch at runtime. Also glibc 2.34 deprecated various mallinfo related
functions. Add the relevant -Wno-foobar flags to those tests.  In one
case, unit_oset.c, the warning was correct and the uninitialized
variable was explicitly set.
2021-10-10 17:19:34 +02:00

32 lines
825 B
Makefile

include $(top_srcdir)/Makefile.tool-tests.am
dist_noinst_SCRIPTS = \
filter_scalar_exit_group \
filter_stderr
noinst_HEADERS = scalar.h
EXTRA_DIST = \
bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
int3-x86.vgtest int3-x86.stderr.exp int3-x86.stdout.exp \
scalar.stderr.exp scalar.vgtest \
scalar_fork.stderr.exp scalar_fork.vgtest \
scalar_exit_group.stderr.exp \
scalar_exit_group.vgtest \
scalar_supp.stderr.exp \
scalar_supp.vgtest scalar_supp.supp \
scalar_vfork.stderr.exp scalar_vfork.vgtest
check_PROGRAMS = \
bug133694 \
int3-x86 \
scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork
AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
AM_CXXFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
AM_CCASFLAGS += @FLAG_M32@
scalar_supp_CFLAGS = $(AM_CFLAGS) -Wno-uninitialized