Skip to content

Commit

Permalink
Merge pull request #5618 from ldorau/test-ex_libpmem2-TEST6-should-no…
Browse files Browse the repository at this point in the history
…t-be-run-under-pmemcheck

test: ex_libpmem2/TEST6 should not be run under pmemcheck
  • Loading branch information
janekmi authored May 6, 2023
2 parents 23b1f90 + f6feb07 commit 59281bb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/test/ex_libpmem2/TESTS.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!../env.py
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2019-2021, Intel Corporation
# Copyright 2019-2023, Intel Corporation
#
import futils
import testframework as t
Expand Down Expand Up @@ -83,6 +83,13 @@ def run(self, ctx):


@t.windows_exclude
# This test case would require two VALGRIND_SET_CLEAN() calls
# to be added to the "src/examples/libpmem2/ringbuf/ringbuf.c"
# example (see https://github.com/pmem/pmdk/pull/5604)
# in order to pass under pmemcheck, but examples
# do not use valgrind macros on purpose (to avoid unnecessary
# complication), so this test case just should not be run under pmemcheck.
@t.require_valgrind_disabled('pmemcheck')
class TEST6(EX_LIBPMEM2):

def run(self, ctx):
Expand Down

0 comments on commit 59281bb

Please sign in to comment.