Skip to content

Commit e4aa1b3

Browse files
Vipul-Cariappamcbarton
authored andcommitted
update test tags
1 parent c6a68e1 commit e4aa1b3

File tree

8 files changed

+0
-26
lines changed

8 files changed

+0
-26
lines changed

test/test_boost.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def test01_any_class(self):
2828

2929
assert std.list[any]
3030

31-
@mark.xfail(run=False)
3231
def test02_any_usage(self):
3332
"""boost::any assignment and casting"""
3433

@@ -101,7 +100,6 @@ def setup_class(cls):
101100
cppyy.include("boost/variant/variant.hpp")
102101
cppyy.include("boost/variant/get.hpp")
103102

104-
@mark.xfail(run=False)
105103
def test01_variant_usage(self):
106104
"""boost::variant usage"""
107105

test/test_concurrent.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ def setup_class(cls):
1717

1818
cppyy.gbl.Workers.calc.__release_gil__ = True
1919

20-
@mark.xfail(run=False, reason="Crashes")
2120
def test01_simple_threads(self):
2221
"""Run basic Python threads"""
2322

@@ -36,7 +35,6 @@ def test01_simple_threads(self):
3635
for t in threads:
3736
t.join()
3837

39-
@mark.xfail(run=False, reason="Crashes")
4038
def test02_futures(self):
4139
"""Run with Python futures"""
4240

@@ -259,7 +257,6 @@ def test():
259257
for t in threads:
260258
t.join()
261259

262-
@mark.xfail(run=False, reason="Crashes")
263260
def test07_overload_reuse_in_threads_wo_gil(self):
264261
"""Threads reuse overload objects; check for clashes if no GIL"""
265262

test/test_cpp11features.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ def moveit(T):
270270
assert cppyy.gbl.TestMoving1.s_instance_counter == 0
271271
assert cppyy.gbl.TestMoving2.s_instance_counter == 0
272272

273-
@mark.xfail
274273
def test08_initializer_list(self):
275274
"""Initializer list construction"""
276275

@@ -308,7 +307,6 @@ def test08_initializer_list(self):
308307
for l in (['x'], ['x', 'y', 'z']):
309308
assert ns.foo(l) == std.vector['std::string'](l)
310309

311-
@mark.xfail
312310
def test09_lambda_calls(self):
313311
"""Call (global) lambdas"""
314312

@@ -452,7 +450,6 @@ def test15_unique_ptr_template_deduction(self):
452450
with raises(ValueError): # not an RValue
453451
cppyy.gbl.UniqueTempl.returnptr[int](uptr_in)
454452

455-
@mark.xfail(run = not IS_CLING, reason = "Does not crash on Cling, but the failure causes subsequent tests to fail")
456453
def test16_unique_ptr_moves(self):
457454
"""std::unique_ptr requires moves"""
458455

test/test_datatypes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1752,7 +1752,6 @@ def test34_object_pointers(self):
17521752
assert c.s_strp == "noot"
17531753
assert sn == "noot" # set through pointer
17541754

1755-
@mark.xfail
17561755
def test35_restrict(self):
17571756
"""Strip __restrict keyword from use"""
17581757

test/test_eigen.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def setup_class(cls):
2222
warnings.simplefilter('ignore')
2323
cppyy.include('Eigen/Dense')
2424

25-
@mark.xfail(run=IS_CLANG_REPL, reason="Crashes with Cling")
2625
def test01_simple_matrix_and_vector(self):
2726
"""Basic creation of an Eigen::Matrix and Eigen::Vector"""
2827

@@ -48,7 +47,6 @@ def test01_simple_matrix_and_vector(self):
4847
v[1] = v(0) - 1
4948
assert v(1) == 3 and v[1] == 3
5049

51-
@mark.xfail(run=IS_CLANG_REPL, reason="Crashes with Cling")
5250
def test02_comma_insertion(self):
5351
"""Comma insertion overload"""
5452

@@ -102,7 +100,6 @@ def test02_comma_insertion(self):
102100
for i in range(5):
103101
assert v(i) == i+1
104102

105-
@mark.xfail
106103
def test03_matrices_and_vectors(self):
107104
"""Matrices and vectors"""
108105

@@ -133,7 +130,6 @@ def test03_matrices_and_vectors(self):
133130

134131
assert (m*v).size() == v.size()
135132

136-
@mark.xfail(run=IS_CLANG_REPL, reason="Crashes with Cling")
137133
def test04_resizing_through_assignment(self):
138134
"""Resize on assignment"""
139135

test/test_numba.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def test01_instance_box_unbox(self):
2626
with raises(TypeError):
2727
cppyy.addressof('doesnotexist')
2828

29-
@mark.xfail
3029
def test02_method_reflection(self):
3130
"""Method reflection tooling"""
3231

@@ -51,7 +50,6 @@ class MyData_m1 {};
5150
assert ns.MyData_m1.__init__.__cpp_reflex__(r.RETURN_TYPE, r.AS_TYPE) == ns.MyData_m1
5251
assert ns.MyData_m1.__init__.__cpp_reflex__(r.RETURN_TYPE, r.AS_STRING) == 'ReflexTest::MyData_m1'
5352

54-
@mark.xfail
5553
def test03_datamember_reflection(self):
5654
"""Data member reflection tooling"""
5755

@@ -119,7 +117,6 @@ def go_fast(a):
119117
assert (go_fast(x) == go_slow(x)).all()
120118
assert self.compare(go_slow, go_fast, 300000, x)
121119

122-
@mark.xfail
123120
def test02_JITed_template_free_func(self):
124121
"""Numba-JITing of Cling-JITed templated free function"""
125122

@@ -153,7 +150,6 @@ def go_fast(a):
153150
assert (go_fast(x) == go_slow(x)).all()
154151
assert self.compare(go_slow, go_fast, 100000, x)
155152

156-
@mark.xfail
157153
def test03_proxy_argument_for_field(self):
158154
"""Numba-JITing of a free function taking a proxy argument for field access"""
159155

@@ -187,7 +183,6 @@ def go_fast(a, d):
187183
assert((go_fast(x, d) == go_slow(x, d)).all())
188184
assert self.compare(go_slow, go_fast, 10000, x, d)
189185

190-
@mark.xfail
191186
def test04_proxy_argument_for_method(self):
192187
"""Numba-JITing of a free function taking a proxy argument for method access"""
193188

@@ -272,7 +267,6 @@ def tma(x):
272267

273268
assert sum == tma(x)
274269

275-
@mark.xfail
276270
def test07_datatype_mapping(self):
277271
"""Numba-JITing of various data types"""
278272

@@ -306,7 +300,6 @@ def access_field(d):
306300
val = getattr(nl[ntype], m)()
307301
assert access_field(getattr(ns, 'M%d'%i)(val)) == val
308302

309-
@mark.xfail
310303
def test08_object_returns(self):
311304
"""Numba-JITing of a function that returns an object"""
312305

@@ -730,7 +723,6 @@ def setup_class(cls):
730723
import cppyy
731724
import cppyy.numba_ext
732725

733-
@mark.xfail
734726
def test01_templated_freefunction(self):
735727
"""Numba support documentation example: free templated function"""
736728

@@ -759,7 +751,6 @@ def tsa(a):
759751
assert type(tsa(a)) == int
760752
assert tsa(a) == 285
761753

762-
@mark.xfail
763754
def test02_class_features(self):
764755
"""Numba support documentation example: class features"""
765756

test/test_stltypes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,6 @@ def test01_string_through_string_view(self):
17141714
assert countit(v) == 4
17151715
assert countit_cr(v) == 4
17161716

1717-
@mark.xfail(run=not (IS_CLANG_DEBUG or IS_CLING), reason="Crashes on ClangRepl with 'toString not implemented', and on Cling")
17181717
def test02_string_view_from_unicode(self):
17191718
"""Life-time management of converted unicode strings"""
17201719

test/test_templates.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ def test07_type_deduction(self):
187187
assert issubclass(select_template_arg[0, int, float].argument, int)
188188
assert issubclass(select_template_arg[1, int, float].argument, float)
189189

190-
@mark.xfail
191190
def test08_using_of_static_data(self):
192191
"""Derived class using static data of base"""
193192

@@ -1108,7 +1107,6 @@ class TNaVU;
11081107
run_n = getattr(cppyy.gbl, 'TNaRun_%d' % n)
11091108
getattr(run_n, t)
11101109

1111-
@mark.xfail(run=not(IS_MAC and IS_CLING), reason="Crashes on OS X + Cling")
11121110
def test33_using_template_argument(self):
11131111
"""`using` type as template argument"""
11141112

@@ -1316,7 +1314,6 @@ def setup_class(cls):
13161314
import cppyy
13171315
cls.templates = cppyy.load_reflection_info(cls.test_dct)
13181316

1319-
@mark.xfail
13201317
def test01_reduce_binary(self):
13211318
"""Squash template expressions for binary operations (like in gmpxx)"""
13221319

0 commit comments

Comments
 (0)