Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/test_crossinheritance.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,13 @@ def __init__(self):
assert CX.IBase4.call_get_value(c1) == 17
assert CX.IBase4.call_get_value(c2) == 27

@mark.xfail(condition=IS_LINUX_ARM, reason="Fails with ModuleNotFoundError")
def test07_templated_base(self):
"""Derive from a base class that is instantiated from a template"""

from cppjit.gbl.CrossInheritance import TBase1, TBase1_I, TDerived1
import cppjit

CX = cppjit.gbl.CrossInheritance
TBase1, TBase1_I, TDerived1 = CX.TBase1, CX.TBase1_I, CX.TDerived1

class TPyDerived1(TBase1_I):
def __init__(self):
Expand Down
5 changes: 3 additions & 2 deletions test/test_datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ def setup_class(cls):
cls.N = 5 # cppjit.gbl.N

@mark.xfail(
condition=IS_CPP23,
condition=IS_CPP23 and not IS_MAC,
reason="since C++23 (P1467) the narrowing std::complex<double> to "
"complex<float> constructor is explicit, breaking the implicit "
"conversion of Python complex arguments",
"conversion of Python complex arguments; libc++ does not implement "
"P1467 yet, so the conversion still succeeds on macOS",
)
def test01_instance_data_read_access(self):
"""Read access to instance public data and verify values"""
Expand Down
7 changes: 6 additions & 1 deletion test/test_leakcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys

from pytest import mark, skip
from support import IS_MAC
from support import IS_MAC, IS_MAC_X86

nopsutil = False
try:
Expand Down Expand Up @@ -264,6 +264,11 @@ class Leaker {
obj = ns.Leaker()
self.check_func(obj, "leak_string", 2048)

@mark.xfail(
condition=IS_MAC_X86,
strict=False,
reason="RSS threshold intermittently trips on the Intel-mac runners",
)
def test08_list_creation(self):
"""Leak check of creating a python list from an std::list"""

Expand Down
Loading