From 41727d9b69d1ca81c31ce40c7fd3bd649470445d Mon Sep 17 00:00:00 2001 From: Jan Michalski Date: Mon, 11 Mar 2024 12:41:48 -0400 Subject: [PATCH] test: exclude core_log* from pmemcheck and/or memcheck Signed-off-by: Jan Michalski --- src/test/core_log/TESTS.py | 1 + src/test/core_log_default_function/TESTS.py | 1 + src/test/core_log_function_mt/TESTS.py | 1 + src/test/core_log_internal/TESTS.py | 1 + src/test/core_log_max/TESTS.py | 1 + src/test/core_log_no_func/TESTS.py | 1 + src/test/core_log_threshold_mt/TESTS.py | 1 + 7 files changed, 7 insertions(+) diff --git a/src/test/core_log/TESTS.py b/src/test/core_log/TESTS.py index 975d3d5cc73..8b509638e2c 100755 --- a/src/test/core_log/TESTS.py +++ b/src/test/core_log/TESTS.py @@ -9,6 +9,7 @@ @g.require_granularity(g.ANY) +@t.require_valgrind_disabled('pmemcheck') # The 'nondebug' build is chosen arbitrarily to ensure these tests are run only # once. No dynamic libraries are used nor .static_* builds are available. @t.require_build('nondebug') diff --git a/src/test/core_log_default_function/TESTS.py b/src/test/core_log_default_function/TESTS.py index 5768e37434d..5121a713337 100755 --- a/src/test/core_log_default_function/TESTS.py +++ b/src/test/core_log_default_function/TESTS.py @@ -9,6 +9,7 @@ @g.require_granularity(g.ANY) +@t.require_valgrind_disabled('pmemcheck') # The 'debug' build is chosen arbitrarily to ensure these tests are run only # once. No dynamic libraries are used nor .static_* builds are available. @t.require_build('debug') diff --git a/src/test/core_log_function_mt/TESTS.py b/src/test/core_log_function_mt/TESTS.py index c15dc8d6b90..56c93227f9f 100755 --- a/src/test/core_log_function_mt/TESTS.py +++ b/src/test/core_log_function_mt/TESTS.py @@ -9,6 +9,7 @@ @g.require_granularity(g.ANY) +@t.require_valgrind_disabled('pmemcheck', 'memcheck') # The 'nondebug' build is chosen arbitrarily to ensure these tests are run only # once. No dynamic libraries are used nor .static_* builds are available. @t.require_build('nondebug') diff --git a/src/test/core_log_internal/TESTS.py b/src/test/core_log_internal/TESTS.py index 5e179c3968f..4db34d21f22 100755 --- a/src/test/core_log_internal/TESTS.py +++ b/src/test/core_log_internal/TESTS.py @@ -10,6 +10,7 @@ @g.require_granularity(g.ANY) @t.require_build('nondebug') +@t.require_valgrind_disabled('pmemcheck') class CORE_LOG(t.BaseTest): test_type = t.Short diff --git a/src/test/core_log_max/TESTS.py b/src/test/core_log_max/TESTS.py index 89e60b44a73..c09cc5fc4da 100755 --- a/src/test/core_log_max/TESTS.py +++ b/src/test/core_log_max/TESTS.py @@ -10,6 +10,7 @@ @g.require_granularity(g.ANY) @t.require_build('nondebug') +@t.require_valgrind_disabled('pmemcheck') class CORE_LOG(t.BaseTest): test_type = t.Short diff --git a/src/test/core_log_no_func/TESTS.py b/src/test/core_log_no_func/TESTS.py index 55c52d048d8..b058118966c 100755 --- a/src/test/core_log_no_func/TESTS.py +++ b/src/test/core_log_no_func/TESTS.py @@ -9,6 +9,7 @@ @g.require_granularity(g.ANY) +@t.require_valgrind_disabled('pmemcheck') # The 'nondebug' build is chosen arbitrarily to ensure these tests are run only # once. No dynamic libraries are used nor .static_* builds are available. @t.require_build('nondebug') diff --git a/src/test/core_log_threshold_mt/TESTS.py b/src/test/core_log_threshold_mt/TESTS.py index 115e6d43afa..fffa0d7faf9 100755 --- a/src/test/core_log_threshold_mt/TESTS.py +++ b/src/test/core_log_threshold_mt/TESTS.py @@ -10,6 +10,7 @@ @g.require_granularity(g.ANY) @t.require_build('nondebug') +@t.require_valgrind_disabled('pmemcheck', 'memcheck') class CORE_LOG_MT(t.BaseTest): test_type = t.Short