mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Create memcheck/tests/x86-linux/ and move some platform-specific tests (the
scalar* ones) into it. Partial merge from DARWIN branch, r8943. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8974
This commit is contained in:
parent
4f4de457aa
commit
53b147dfb8
17
configure.in
17
configure.in
@ -401,6 +401,22 @@ case "$VG_ARCH_MAX-$VG_OS" in
|
||||
;;
|
||||
esac
|
||||
|
||||
# Set up VGA_<arch>. Either one or two of these become defined.
|
||||
#
|
||||
AM_CONDITIONAL(VGA_X86,
|
||||
test x$VG_PLATFORM_PRI = xX86_LINUX \
|
||||
-o x$VG_PLATFORM_SEC = xX86_LINUX )
|
||||
AM_CONDITIONAL(VGA_AMD64,
|
||||
test x$VG_PLATFORM_PRI = xAMD64_LINUX )
|
||||
AM_CONDITIONAL(VGA_PPC32,
|
||||
test x$VG_PLATFORM_PRI = xPPC32_LINUX \
|
||||
-o x$VG_PLATFORM_SEC = xPPC32_LINUX \
|
||||
-o x$VG_PLATFORM_PRI = xPPC32_AIX5 \
|
||||
-o x$VG_PLATFORM_SEC = xPPC32_AIX5 )
|
||||
AM_CONDITIONAL(VGA_PPC64,
|
||||
test x$VG_PLATFORM_PRI = xPPC64_LINUX \
|
||||
-o x$VG_PLATFORM_PRI = xPPC64_AIX5 )
|
||||
|
||||
# Set up VGP_<platform>. Either one or two of these become defined.
|
||||
#
|
||||
AM_CONDITIONAL(VGP_X86_LINUX,
|
||||
@ -1613,6 +1629,7 @@ AC_OUTPUT(
|
||||
memcheck/tests/ppc32/Makefile
|
||||
memcheck/tests/ppc64/Makefile
|
||||
memcheck/tests/x86/Makefile
|
||||
memcheck/tests/x86-linux/Makefile
|
||||
memcheck/docs/Makefile
|
||||
cachegrind/Makefile
|
||||
cachegrind/tests/Makefile
|
||||
|
||||
@ -3,19 +3,26 @@
|
||||
include $(top_srcdir)/Makefile.flags.am
|
||||
|
||||
SUBDIRS = .
|
||||
if VGP_X86_LINUX
|
||||
|
||||
# Arch-specific tests.
|
||||
if VGA_X86
|
||||
SUBDIRS += x86
|
||||
endif
|
||||
if VGP_AMD64_LINUX
|
||||
if VGA_AMD64
|
||||
SUBDIRS += amd64
|
||||
endif
|
||||
if VGP_PPC32_LINUX
|
||||
if VGA_PPC32
|
||||
SUBDIRS += ppc32
|
||||
endif
|
||||
if VGP_PPC64_LINUX
|
||||
if VGA_PPC64
|
||||
SUBDIRS += ppc64
|
||||
endif
|
||||
|
||||
# Platform-specific tests
|
||||
if VGP_X86_LINUX
|
||||
SUBDIRS += x86-linux
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = ${VG_ARCH_ALL} .
|
||||
|
||||
noinst_SCRIPTS = filter_allocs filter_leak_check_size \
|
||||
|
||||
21
memcheck/tests/x86-linux/Makefile.am
Normal file
21
memcheck/tests/x86-linux/Makefile.am
Normal file
@ -0,0 +1,21 @@
|
||||
noinst_SCRIPTS = filter_stderr
|
||||
|
||||
noinst_HEADERS = scalar.h
|
||||
|
||||
EXTRA_DIST = $(noinst_SCRIPTS) \
|
||||
scalar.stderr.exp scalar.stderr.exp2 scalar.vgtest \
|
||||
scalar_fork.stderr.exp scalar_fork.vgtest \
|
||||
scalar_exit_group.stderr.exp scalar_exit_group.stderr.exp2 \
|
||||
scalar_exit_group.vgtest \
|
||||
scalar_supp.stderr.exp scalar_supp.stderr.exp2 \
|
||||
scalar_supp.vgtest scalar_supp.supp \
|
||||
scalar_vfork.stderr.exp scalar_vfork.vgtest
|
||||
|
||||
check_PROGRAMS = \
|
||||
scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
AM_CFLAGS = $(WERROR) @FLAG_M32@ -Winline -Wall -Wshadow -g \
|
||||
$(FLAG_MMMX) $(FLAG_MSSE)
|
||||
AM_CXXFLAGS = $(AM_CFLAGS)
|
||||
AM_CCASFLAGS = @FLAG_M32@
|
||||
3
memcheck/tests/x86-linux/filter_stderr
Executable file
3
memcheck/tests/x86-linux/filter_stderr
Executable file
@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
../filter_stderr
|
||||
@ -1,7 +1,5 @@
|
||||
noinst_SCRIPTS = filter_stderr filter_pushfpopf filter_tronical
|
||||
|
||||
noinst_HEADERS = scalar.h
|
||||
|
||||
INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
|
||||
|
||||
EXTRA_DIST = $(noinst_SCRIPTS) \
|
||||
@ -17,13 +15,6 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
|
||||
pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
|
||||
pushfw_x86.vgtest pushfw_x86.stdout.exp pushfw_x86.stderr.exp \
|
||||
pushpopmem.stderr.exp pushpopmem.stdout.exp pushpopmem.vgtest \
|
||||
scalar.stderr.exp scalar.stderr.exp2 scalar.vgtest \
|
||||
scalar_fork.stderr.exp scalar_fork.vgtest \
|
||||
scalar_exit_group.stderr.exp scalar_exit_group.stderr.exp2 \
|
||||
scalar_exit_group.vgtest \
|
||||
scalar_supp.stderr.exp scalar_supp.stderr.exp2 \
|
||||
scalar_supp.vgtest scalar_supp.supp \
|
||||
scalar_vfork.stderr.exp scalar_vfork.vgtest \
|
||||
sse1_memory.stderr.exp sse1_memory.stdout.exp sse1_memory.vgtest \
|
||||
sse2_memory.stderr.exp sse2_memory.stdout.exp sse2_memory.vgtest \
|
||||
tronical.stderr.exp tronical.vgtest \
|
||||
@ -38,10 +29,9 @@ check_PROGRAMS = \
|
||||
espindola2 \
|
||||
fxsave \
|
||||
int3-x86 \
|
||||
scalar_exit_group scalar_fork scalar_supp scalar_vfork \
|
||||
fpeflags pushfpopf \
|
||||
pushfw_x86 \
|
||||
pushpopmem scalar sse_memory tronical \
|
||||
pushpopmem sse_memory tronical \
|
||||
more_x86_fp fprem xor-undef-x86
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user