|
From: <sv...@va...> - 2015-08-12 14:19:17
|
Author: rhyskidd
Date: Wed Aug 12 15:19:09 2015
New Revision: 15528
Log:
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.
Modified:
trunk/memcheck/tests/amd64/Makefile.am
trunk/memcheck/tests/amd64/xsave-avx.vgtest
Modified: trunk/memcheck/tests/amd64/Makefile.am
==============================================================================
--- trunk/memcheck/tests/amd64/Makefile.am (original)
+++ trunk/memcheck/tests/amd64/Makefile.am Wed Aug 12 15:19:09 2015
@@ -46,7 +46,10 @@
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
Modified: trunk/memcheck/tests/amd64/xsave-avx.vgtest
==============================================================================
--- trunk/memcheck/tests/amd64/xsave-avx.vgtest (original)
+++ trunk/memcheck/tests/amd64/xsave-avx.vgtest Wed Aug 12 15:19:09 2015
@@ -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
|