Skip to content

Commit

Permalink
test: disable avx512f tests under Valgrind
Browse files Browse the repository at this point in the history
Disable avc512x until Valgrind until Valigrind will provide support for avx512f instruction.
See: pmem#5640

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed May 18, 2023
1 parent 850a099 commit 32d2b58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/pmem2_mem_ext/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ def setup(self, ctx):
ret = tools.Tools(ctx.env, ctx.build).cpufd()
self.check_arch(ctx.variant(), ret.returncode)

# All tests with variant VARIANT_AVX512F are disabled under Valgrind
# until the issue https://github.com/pmem/pmdk/issues/5640 is fixed.
if ctx.valgrind != None:
if ctx.valgrind.tool.name != "NONE":
if ctx.variant() == VARIANT_AVX512F:
raise futils.Skip("AVX512F unavailable under Valigrind")

def check_arch(self, variant, available_arch):
if variant == VARIANT_MOVDIR64B:
if available_arch < MOVDIR64B:
Expand Down

0 comments on commit 32d2b58

Please sign in to comment.