]> sourceware.org Git - valgrind.git/commitdiff
Regtest memcheck/tests/amd64/shr_edx does not build on macOS
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 8 Jun 2022 21:17:09 +0000 (23:17 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 8 Jun 2022 21:17:09 +0000 (23:17 +0200)
Make it conditional

memcheck/tests/amd64/Makefile.am

index 8b8785613cdfc27284fef9f6dc79c79434826019..a5a78aa3100d1cdbea72a99a1a1164ad234dab86 100644 (file)
@@ -46,8 +46,8 @@ check_PROGRAMS = \
        insn-pmovmskb \
        sh-mem-vec128 \
        sse_memory \
-       xor-undef-amd64 \
-       shr_edx
+       xor-undef-amd64
+
 if BUILD_AVX_TESTS
  check_PROGRAMS += sh-mem-vec256 xsave-avx
 endif
@@ -60,6 +60,13 @@ if !COMPILER_IS_CLANG
        more_x87_fp
 endif
 
+# initially this was a "not clang" test
+# but the problem is macOS, not clang
+if !VGCONF_OS_IS_DARWIN
+ check_PROGRAMS += \
+       shr_edx
+endif
+
 AM_CFLAGS    += @FLAG_M64@
 AM_CXXFLAGS  += @FLAG_M64@
 AM_CCASFLAGS += @FLAG_M64@
This page took 2.289997 seconds and 5 git commands to generate.