diff --git a/src/test/ex_libpmem2/TESTS.py b/src/test/ex_libpmem2/TESTS.py index 5183cf91cef..8423a52aa9b 100755 --- a/src/test/ex_libpmem2/TESTS.py +++ b/src/test/ex_libpmem2/TESTS.py @@ -4,6 +4,7 @@ # import futils import testframework as t +from testframework import granularity as g @t.require_build(['debug', 'release']) @@ -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): @@ -82,6 +89,13 @@ def run(self, ctx): 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.windows_exclude # This test case would require two VALGRIND_SET_CLEAN() calls # to be added to the "src/examples/libpmem2/ringbuf/ringbuf.c"