Skip to content

Commit

Permalink
Merge pull request #57 from sudo-panda/cling-crash
Browse files Browse the repository at this point in the history
Mark tests which crash in cling
  • Loading branch information
sudo-panda authored Jun 26, 2023
2 parents e4c993c + 7b6370a commit a3b9081
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_crossinheritance.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ def sum_all(self, *args):
assert d.sum_all(-7, -5) == 1
assert Base1.call_sum_all(d, -7, -5) == 1

@mark.xfail(run=IS_CLANG_REPL, reason="Crashes on cling when \
test06_const_methods, test07_templated_base and \
test01_instance_data_read_access are run in order")
def test06_const_methods(self):
"""Declared const methods should keep that qualifier"""

Expand All @@ -206,6 +209,9 @@ def __init__(self):
assert CX.IBase4.call_get_value(c1) == 17
assert CX.IBase4.call_get_value(c2) == 27

@mark.xfail(run=IS_CLANG_REPL, reason="Crashes on cling when \
test06_const_methods, test07_templated_base and \
test01_instance_data_read_access are run in order")
def test07_templated_base(self):
"""Derive from a base class that is instantiated from a template"""

Expand Down

0 comments on commit a3b9081

Please sign in to comment.