mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-15 07:07:01 +00:00
Also test memcheck/tests/vbit-test on any secondary arch.
If we are building a secondary arch then also build and run the memcheck vbit-test for that architecture.
This commit is contained in:
@@ -17,6 +17,10 @@ noinst_HEADERS = vtest.h vbits.h
|
||||
|
||||
noinst_PROGRAMS = vbit-test
|
||||
|
||||
if VGCONF_HAVE_PLATFORM_SEC
|
||||
noinst_PROGRAMS += vbit-test-sec
|
||||
endif
|
||||
|
||||
if VGCONF_OS_IS_DARWIN
|
||||
noinst_DSYMS = $(noinst_PROGRAMS)
|
||||
endif
|
||||
@@ -41,3 +45,19 @@ vbit_test_CFLAGS = $(AM_CFLAGS_PRI)
|
||||
vbit_test_DEPENDENCIES =
|
||||
vbit_test_LDADD = $(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
|
||||
vbit_test_LDFLAGS = $(AM_CFLAGS_PRI) @LIB_UBSAN@
|
||||
|
||||
if VGCONF_HAVE_PLATFORM_SEC
|
||||
vbit_test_sec_SOURCES = $(SOURCES)
|
||||
vbit_test_sec_CPPFLAGS = $(AM_CPPFLAGS_SEC) \
|
||||
$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/memcheck \
|
||||
-I$(top_srcdir)/VEX/pub
|
||||
vbit_test_sec_CFLAGS = $(AM_CFLAGS_SEC) \
|
||||
$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
|
||||
vbit_test_sec_DEPENDENCIES =
|
||||
vbit_test_sec_LDADD = $(top_builddir)/VEX/libvex-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a \
|
||||
$(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
|
||||
vbit_test_sec_LDFLAGS = $(AM_CFLAGS_SEC) @LIB_UBSAN@ \
|
||||
$(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
|
||||
endif
|
||||
|
||||
0
memcheck/tests/vbit-test/vbit-test-sec.stderr.exp
Normal file
0
memcheck/tests/vbit-test/vbit-test-sec.stderr.exp
Normal file
3
memcheck/tests/vbit-test/vbit-test-sec.vgtest
Normal file
3
memcheck/tests/vbit-test/vbit-test-sec.vgtest
Normal file
@@ -0,0 +1,3 @@
|
||||
prog: vbit-test-sec
|
||||
prereq: test -x vbit-test-sec
|
||||
vgopts: -q --expensive-definedness-checks=yes
|
||||
Reference in New Issue
Block a user