Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: disable test due to #5641 #5647

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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