From 2b678bcbd8fbb9f43e01f1497828bef9320e8747 Mon Sep 17 00:00:00 2001 From: Tomasz Gromadzki Date: Fri, 19 May 2023 09:52:00 +0200 Subject: [PATCH] test: disable TEST[0-2] until #5594 is fixed. Disable tests TEST[0-2] for memcheck until #5594 is fixed. Signed-off-by: Tomasz Gromadzki --- src/test/pmem2_map_from_existing/TESTS.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/test/pmem2_map_from_existing/TESTS.py b/src/test/pmem2_map_from_existing/TESTS.py index 9d8e50dd41b..afc3ce7f5c1 100644 --- a/src/test/pmem2_map_from_existing/TESTS.py +++ b/src/test/pmem2_map_from_existing/TESTS.py @@ -1,6 +1,6 @@ #!../env.py # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2020-2021, Intel Corporation +# Copyright 2020-2023, Intel Corporation # @@ -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"