Properly guard memcheck/tests/amd64/xsave-avx. This test relies on memalign(), which is not present on OS X. Along with a few other avx tests needs refactoring to use posix_memalign() down the track. n-i-bz.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15528
This commit is contained in:
Rhys Kidd 2015-08-12 14:19:09 +00:00
parent b5663503f4
commit 59e930ed5e
2 changed files with 5 additions and 2 deletions

View File

@ -46,7 +46,10 @@ check_PROGRAMS = \
sse_memory \
xor-undef-amd64
if BUILD_AVX_TESTS
check_PROGRAMS += sh-mem-vec256 xsave-avx
check_PROGRAMS += sh-mem-vec256
if !VGCONF_OS_IS_DARWIN
check_PROGRAMS += xsave-avx
endif
endif
if HAVE_ASM_CONSTRAINT_P
check_PROGRAMS += insn-pcmpistri

View File

@ -1,4 +1,4 @@
prog: xsave-avx
prereq: ../../../tests/x86_amd64_features amd64-avx
prereq: test -x xsave-avx && ../../../tests/x86_amd64_features amd64-avx
vgopts: -q
args: x