Skip to content

Commit

Permalink
test: disable test due to #5641
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 16, 2023
1 parent 5bfd7d9 commit 7759896
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/test/ex_libpmem2/TESTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
import futils
import testframework as t
from testframework import granularity as g


@t.require_build(['debug', 'release'])
Expand Down Expand Up @@ -73,6 +74,12 @@ def run(self, ctx):
ctx.exec(example_path, *args, stdout_file='out4.log')


# XXX
# Manually disabled for pmemcheck for g.PAGE until ready fix for
# https://github.com/pmem/pmdk/issues/5641
# additionall test TEST501 has been added to cover non-pmemcheck configs.
@g.require_granularity(g.CACHELINE, g.BYTE) # to be removed when fix available
@t.require_valgrind_enabled('pmemcheck') # to be removed when fix available
class TEST5(EX_LIBPMEM2):

def run(self, ctx):
Expand All @@ -81,6 +88,18 @@ def run(self, ctx):
ctx.exec(example_path, "write", file_path, "foobar")
ctx.exec(example_path, "read", file_path, stdout_file='out5.log')

# XXX see TEST5 above
@t.require_valgrind_disabled('pmemcheck')
class TEST501(TEST5): # to be removed when fix available

pass

@t.require_build('debug')
@g.require_granularity(g.PAGE) # to be removed when fix available
@t.require_valgrind_enabled('pmemcheck')
class TEST502(TEST5): # to be removed when fix available

pass

@t.windows_exclude
# This test case would require two VALGRIND_SET_CLEAN() calls
Expand Down

0 comments on commit 7759896

Please sign in to comment.