@@ -455,7 +455,7 @@ def test10_vector_std_distance(self):
455455 assert std .distance (v .begin (), v .end ()) == v .size ()
456456 assert std .distance [type (v ).iterator ](v .begin (), v .end ()) == v .size ()
457457
458- @mark .xfail
458+ @mark .xfail ( condition = ( IS_MAC and not IS_CLANG_REPL ), reason = "fails on OSX-Cling" )
459459 def test11_vector_of_pair (self ):
460460 """Use of std::vector<std::pair>"""
461461
@@ -673,7 +673,7 @@ def test18_array_interface(self):
673673 v = np .array (v , dtype = np .intc )
674674 assert ns .func (v ) == sum (v )
675675
676- @mark .xfail (run = not (( IS_MAC_ARM or IS_MAC_X86 ) and not IS_CLANG_REPL ) )
676+ @mark .xfail (condition = IS_MAC and not IS_CLANG_REPL , run = False , reason = "Crashes with OSX-Cling" )
677677 def test19_vector_point3d (self ):
678678 """Iteration over a vector of by-value objects"""
679679
@@ -1524,6 +1524,7 @@ def test01_array_of_basic_types(self):
15241524 a [i ] = i
15251525 assert a [i ] == i
15261526
1527+ @mark .xfail (condition = (IS_MAC and not IS_CLANG_REPL ), reason = "fails on OSX-Cling" )
15271528 def test02_array_of_pods (self ):
15281529 """Usage of std::array of PODs"""
15291530
@@ -1547,6 +1548,7 @@ def test02_array_of_pods(self):
15471548 assert a [2 ].px == 6
15481549 assert a [2 ].py == 7
15491550
1551+ @mark .xfail (condition = (IS_MAC and not IS_CLANG_REPL ), reason = "fails on OSX-Cling" )
15501552 def test03_array_of_pointer_to_pods (self ):
15511553 """Usage of std::array of pointer to PODs"""
15521554
@@ -1887,7 +1889,7 @@ def setup_class(cls):
18871889 cls .stltypes = cppyy .load_reflection_info (cls .test_dct )
18881890 cls .N = cppyy .gbl .N
18891891
1890- @mark .xfail
1892+ @mark .xfail ( condition = ( IS_MAC and not IS_CLANG_REPL ), reason = "fails on OSX-Cling" )
18911893 def test01_pair_pack_unpack (self ):
18921894 """Pack/unpack pairs"""
18931895
@@ -1907,6 +1909,7 @@ def setup_class(cls):
19071909 import cppyy
19081910 cls .stltypes = cppyy .load_reflection_info (cls .test_dct )
19091911
1912+ @mark .xfail (condition = (IS_MAC and not IS_CLANG_REPL ), reason = "fails on OSX-Cling" )
19101913 def test01_basics (self ):
19111914 """Test behavior of std::exception derived classes"""
19121915
0 commit comments