Skip to content

Commit 5ce3475

Browse files
committed
Skip test failing valgrind on linux arm + clang18
1 parent 79ea71b commit 5ce3475

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

test/test_cpp11features.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import py, os, sys
22
from pytest import raises, mark
3-
from .support import setup_make, ispypy, IS_CLANG_REPL, IS_LINUX_ARM, IS_MAC, IS_CLING
3+
from .support import setup_make, ispypy, IS_CLANG_REPL, IS_LINUX_ARM, IS_LINUX, IS_MAC, IS_CLING
44

55

66
currpath = py.path.local(__file__).dirpath()
@@ -72,6 +72,7 @@ class C(TestSmartPtr):
7272
gc.collect()
7373
assert TestSmartPtr.s_counter == 0
7474

75+
@mark.xfail(run = False, condition = IS_LINUX, reason = "Passes, but Valgrind issue")
7576
def test03_smart_ptr_memory_handling(self):
7677
"""Test shared/unique pointer memory ownership"""
7778

test/test_crossinheritance.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ def call(self):
405405
gc.collect()
406406
assert CB.s_count == 0 + start_count
407407

408+
@mark.xfail(run = False, condition = IS_LINUX, reason = "Passes, but Valgrind issue")
408409
def test12_python_shared_ptr_memory(self):
409410
"""Usage of Python derived objects with std::shared_ptr"""
410411

test/test_stltypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,7 +1757,7 @@ def test03_initialize_from_set(self):
17571757
with raises(TypeError):
17581758
s = cppyy.gbl.std.set[int](set(["aap", "noot", "mies"]))
17591759

1760-
@mark.xfail
1760+
@mark.xfail(run=not(IS_MAC and IS_CLING))
17611761
def test04_set_cpp17_style(self):
17621762
"""C++17 style initialization of std::set"""
17631763

0 commit comments

Comments
 (0)