Skip to content

Commit

Permalink
test: fix cstyle issue
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed May 18, 2023
1 parent a9c535f commit 5655de2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/test/pmem2_mem_ext/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,10 @@ def setup(self, ctx):

# All tests with variant VARIANT_AVX512F are disabled under Valgrind
# until the issue https://github.com/pmem/pmdk/issues/5640 is fixed.
if not sys.platform.startswith('win32'):
if ctx.valgrind is not None:
if ctx.valgrind.tool.name != "NONE":
if ctx.variant() == VARIANT_AVX512F:
raise futils.Skip("AVX512F unavailable under Valigrind")
if not sys.platform.startswith('win32') and ctx.valgrind is not 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:
Expand Down

0 comments on commit 5655de2

Please sign in to comment.