From: Rhys Kidd Date: Wed, 12 Aug 2015 14:19:09 +0000 (+0000) Subject: Properly guard memcheck/tests/amd64/xsave-avx. This test relies on memalign(), which... X-Git-Tag: svn/VALGRIND_3_11_0~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e930ed5e226132fb7aa03c57ff6c7d93123c3c;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index dc48f417c6..11381be5cb 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -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 diff --git a/memcheck/tests/amd64/xsave-avx.vgtest b/memcheck/tests/amd64/xsave-avx.vgtest index dbc9803b40..0b2793a71f 100644 --- a/memcheck/tests/amd64/xsave-avx.vgtest +++ b/memcheck/tests/amd64/xsave-avx.vgtest @@ -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