@@ -192,7 +192,7 @@ def test01_instance_data_read_access(self):
192
192
193
193
c .__destruct__ ()
194
194
195
- @mark .skip ()
195
+ @mark .xfail ()
196
196
def test02_instance_data_write_access (self ):
197
197
"""Test write access to instance public data and verify values"""
198
198
@@ -377,7 +377,7 @@ def test03_array_passing(self):
377
377
378
378
c .__destruct__ ()
379
379
380
- @mark .skip ()
380
+ @mark .xfail ()
381
381
def test04_class_read_access (self ):
382
382
"""Test read access to class public data and verify values"""
383
383
@@ -542,7 +542,7 @@ def test06_range_access(self):
542
542
543
543
c .__destruct__ ()
544
544
545
- @mark .skip ()
545
+ @mark .xfail ()
546
546
def test07_type_conversions (self ):
547
547
"""Test conversions between builtin types"""
548
548
@@ -736,7 +736,7 @@ def test10_enum(self):
736
736
assert gbl .EnumSpace .AA == 1
737
737
assert gbl .EnumSpace .BB == 2
738
738
739
- @mark .skip ()
739
+ @mark .xfail ()
740
740
def test11_typed_enums (self ):
741
741
"""Determine correct types of enums"""
742
742
@@ -779,7 +779,7 @@ class Test {
779
779
assert type (sc .vraioufaux .faux ) == bool # no bool as base class
780
780
assert isinstance (sc .vraioufaux .faux , bool )
781
781
782
- @mark .skip ()
782
+ @mark .xfail ()
783
783
def test12_enum_scopes (self ):
784
784
"""Enum accessibility and scopes"""
785
785
@@ -1108,7 +1108,7 @@ def test21_object_validity(self):
1108
1108
1109
1109
assert not d2
1110
1110
1111
- @mark .skip ()
1111
+ @mark .xfail ()
1112
1112
def test22_buffer_shapes (self ):
1113
1113
"""Correctness of declared buffer shapes"""
1114
1114
@@ -1277,10 +1277,8 @@ def run(self, f, buf, total):
1277
1277
if self .has_byte :
1278
1278
run (self , cppyy .gbl .sum_byte_data , buf , total )
1279
1279
1280
- # @mark.xfail(run=not IS_MAC_ARM, reason = "Crashes on OS X ARM with" \
1281
- # "libc++abi: terminating due to uncaught exception")
1282
- # Marked as skip to prevent propagation of failure to other tests
1283
- @mark .skip ()
1280
+ @mark .xfail (run = not IS_MAC_ARM , reason = "Crashes on OS X ARM with" \
1281
+ "libc++abi: terminating due to uncaught exception" )
1284
1282
def test26_function_pointers (self ):
1285
1283
"""Function pointer passing"""
1286
1284
@@ -1562,7 +1560,7 @@ def test30_multi_dim_arrays_of_builtins(test):
1562
1560
p = (ctype * len (buf )).from_buffer (buf )
1563
1561
assert [p [j ] for j in range (width * height )] == [2 * j for j in range (width * height )]
1564
1562
1565
- @mark .skip ()
1563
+ @mark .xfail ()
1566
1564
def test31_anonymous_union (self ):
1567
1565
"""Anonymous unions place there fields in the parent scope"""
1568
1566
@@ -1656,7 +1654,7 @@ def test31_anonymous_union(self):
1656
1654
assert type (p .data_c [0 ]) == float
1657
1655
assert p .intensity == 5.
1658
1656
1659
- @mark .skip ()
1657
+ @mark .xfail ()
1660
1658
def test32_anonymous_struct (self ):
1661
1659
"""Anonymous struct creates an unnamed type"""
1662
1660
@@ -1705,7 +1703,7 @@ class Foo2 {
1705
1703
1706
1704
assert 'foo' in dir (ns .libuntitled1_ExportedSymbols ().kotlin .root .com .justamouse .kmmdemo )
1707
1705
1708
- @mark .skip ()
1706
+ @mark .xfail ()
1709
1707
def test33_pointer_to_array (self ):
1710
1708
"""Usability of pointer to array"""
1711
1709
@@ -2061,7 +2059,7 @@ def test40_more_aggregates(self):
2061
2059
r2 = ns .make_R2 ()
2062
2060
assert r2 .s .x == 1
2063
2061
2064
- @mark .skip ()
2062
+ @mark .xfail ()
2065
2063
def test41_complex_numpy_arrays (self ):
2066
2064
"""Usage of complex numpy arrays"""
2067
2065
@@ -2109,7 +2107,7 @@ def pycompdot(a, b, N):
2109
2107
Ccl = func (Acl , Bcl , 2 )
2110
2108
assert complex (Ccl ) == pyCcl
2111
2109
2112
- @mark .skip ()
2110
+ @mark .xfail ()
2113
2111
def test42_mixed_complex_arithmetic (self ):
2114
2112
"""Mixin of Python and C++ std::complex in arithmetic"""
2115
2113
@@ -2123,7 +2121,7 @@ def test42_mixed_complex_arithmetic(self):
2123
2121
assert c * (c * c ) == p * (p * p )
2124
2122
assert (c * c )* c == (p * p )* p
2125
2123
2126
- @mark .skip ()
2124
+ @mark .xfail ()
2127
2125
def test43_ccharp_memory_handling (self ):
2128
2126
"""cppyy side handled memory of C strings"""
2129
2127
@@ -2240,7 +2238,7 @@ def test45_const_ref_data(self):
2240
2238
b = ns .B ()
2241
2239
assert b .body1 .name == b .body2 .name
2242
2240
2243
- @mark .skip ()
2241
+ @mark .xfail ()
2244
2242
def test46_small_int_enums (self ):
2245
2243
"""Proper typing of small int enums"""
2246
2244
@@ -2295,7 +2293,7 @@ def test46_small_int_enums(self):
2295
2293
assert ns .func_int8 () == - 1
2296
2294
assert ns .func_uint8 () == 255
2297
2295
2298
- @mark .skip ()
2296
+ @mark .xfail ()
2299
2297
def test47_hidden_name_enum (self ):
2300
2298
"""Usage of hidden name enum"""
2301
2299
0 commit comments