Skip to content

Commit

Permalink
test: disable VARIANT_MOVDIR64B under Valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
osalyk committed Nov 20, 2024
1 parent 518b742 commit 33be252
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/test/pmem2_mem_ext/TESTS.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!../env.py
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2020-2023, Intel Corporation
# Copyright 2020-2024, Intel Corporation
#

import testframework as t
Expand Down Expand Up @@ -113,10 +113,11 @@ def setup(self, ctx):
ret = tools.Tools(ctx.env, ctx.build).cpufd()
self.check_arch(ctx.variant(), ret.returncode)

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

def check_arch(self, variant, available_arch):
Expand Down

0 comments on commit 33be252

Please sign in to comment.