Skip to content

Commit

Permalink
test: disable test due to pmem#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 321a12a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion 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,7 +74,10 @@ def run(self, ctx):
ctx.exec(example_path, *args, stdout_file='out4.log')


class TEST5(EX_LIBPMEM2):
# XXX Disable the test execution under pmemcheck with g.PAGE until fixed.
# https://github.com/pmem/pmdk/issues/5641
# additionall test TEST501 has been added to cover non-pmemcheck configs.
class EX_LIBPMEM2_TEST5(EX_LIBPMEM2):

def run(self, ctx):
example_path = futils.get_example_path(ctx, 'pmem2', 'unsafe_shutdown')
Expand All @@ -82,6 +86,19 @@ def run(self, ctx):
ctx.exec(example_path, "read", file_path, stdout_file='out5.log')


@g.require_granularity(g.CACHELINE, g.BYTE) # to be removed when fixed
@t.require_valgrind_enabled('pmemcheck') # to be removed when fixed
class TEST5(EX_LIBPMEM2_TEST5):

pass


@t.require_valgrind_disabled('pmemcheck')
class TEST501(EX_LIBPMEM2_TEST5): # to be removed when fixed

pass


@t.windows_exclude
# This test case would require two VALGRIND_SET_CLEAN() calls
# to be added to the "src/examples/libpmem2/ringbuf/ringbuf.c"
Expand Down

0 comments on commit 321a12a

Please # to comment.