From 8392327edc7a91e4c8992291abcd50539a51541c Mon Sep 17 00:00:00 2001 From: Vipul Cariappa Date: Mon, 6 Jan 2025 10:56:04 +0530 Subject: [PATCH] [test] update tags (#117) `test03_stllike_preinc` fixed by compiler-research/CppInterOp#401 others fixed by compiler-research/CppInterOp#394 --- test/test_doc_features.py | 2 +- test/test_operators.py | 2 -- test/test_stltypes.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test/test_doc_features.py b/test/test_doc_features.py index f9cc8168..3aff612f 100644 --- a/test/test_doc_features.py +++ b/test/test_doc_features.py @@ -613,7 +613,7 @@ def pythonizor(klass, name): i2 = Integer2(13) assert int(i2) == 13 - @mark.xfail + @mark.xfail(condition=IS_MAC and not IS_CLANG_REPL, reason="Fails on OSX Cling") def test06_add_operator(self): """Add operator+""" diff --git a/test/test_operators.py b/test/test_operators.py index d2b1bfe0..ccbd8aa8 100644 --- a/test/test_operators.py +++ b/test/test_operators.py @@ -232,7 +232,6 @@ def test09_templated_operator(self): assert (TOIClass() < 1) - @mark.xfail def test10_r_non_associative(self): """Use of radd/rmul with non-associative types""" @@ -354,7 +353,6 @@ def test15_class_and_global_mix(self): assert std.max_element(x.begin(), x.end())-x.begin() == 2 assert (x.end() - 3).__deref__() == 1 - @mark.xfail def test16_global_ordered_operators(self): """Globally defined ordered oeprators""" diff --git a/test/test_stltypes.py b/test/test_stltypes.py index 83aa7c25..a630af84 100644 --- a/test/test_stltypes.py +++ b/test/test_stltypes.py @@ -1413,7 +1413,6 @@ def test02_STL_like_class_iterators(self): assert len(b) == 3 assert sum(b) == 6 - @mark.xfail(condition=not IS_MAC and IS_CLANG_REPL, run=False, reason="Crashes on Ubuntu cling-REPL") def test03_stllike_preinc(self): """STL-like class with preinc by-ref returns"""