Skip to content

Commit

Permalink
test: disable TEST[0-2] until pmem#5594 is fixed.
Browse files Browse the repository at this point in the history
Disable tests TEST[0-2] for memcheck until pmem#5594 is fixed.

Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed May 19, 2023
1 parent 850a099 commit 2b678bc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/test/pmem2_map_from_existing/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 2020-2021, Intel Corporation
# Copyright 2020-2023, Intel Corporation
#


Expand All @@ -16,17 +16,25 @@ def run(self, ctx):
filepath = ctx.create_holey_file(16 * t.MiB, 'testfile1')
ctx.exec('pmem2_map_from_existing', self.test_case, filepath)


# XXX disable the test for `memcheck'
# until https://github.com/pmem/pmdk/issues/5594 is fixed.
@t.require_valgrind_disabled('memcheck')
class TEST0(Pmem2_from_existing):
"""try to create two the same mappings"""
test_case = "test_two_same_mappings"


# XXX disable the test for `memcheck'
# until https://github.com/pmem/pmdk/issues/5594 is fixed.
@t.require_valgrind_disabled('memcheck')
class TEST1(Pmem2_from_existing):
"""try to map which overlap bottom part of existing mapping"""
test_case = "test_mapping_overlap_bottom"


# XXX disable the test for `memcheck'
# until https://github.com/pmem/pmdk/issues/5594 is fixed.
@t.require_valgrind_disabled('memcheck')
class TEST2(Pmem2_from_existing):
"""try to map which overlap upper part of existing mapping"""
test_case = "test_mapping_overlap_upper"
Expand Down

0 comments on commit 2b678bc

Please sign in to comment.