Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions test/test_boost.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def test01_any_class(self):

assert std.list[any]

@mark.xfail(run=False)
def test02_any_usage(self):
"""boost::any assignment and casting"""

Expand Down Expand Up @@ -101,7 +100,6 @@ def setup_class(cls):
cppyy.include("boost/variant/variant.hpp")
cppyy.include("boost/variant/get.hpp")

@mark.xfail(run=False)
def test01_variant_usage(self):
"""boost::variant usage"""

Expand Down
3 changes: 0 additions & 3 deletions test/test_concurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def setup_class(cls):

cppyy.gbl.Workers.calc.__release_gil__ = True

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

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

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

Expand Down Expand Up @@ -259,7 +257,6 @@ def test():
for t in threads:
t.join()

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

Expand Down
3 changes: 0 additions & 3 deletions test/test_cpp11features.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ def moveit(T):
assert cppyy.gbl.TestMoving1.s_instance_counter == 0
assert cppyy.gbl.TestMoving2.s_instance_counter == 0

@mark.xfail
def test08_initializer_list(self):
"""Initializer list construction"""

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

@mark.xfail
def test09_lambda_calls(self):
"""Call (global) lambdas"""

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

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

Expand Down
1 change: 0 additions & 1 deletion test/test_datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,6 @@ def test34_object_pointers(self):
assert c.s_strp == "noot"
assert sn == "noot" # set through pointer

@mark.xfail
def test35_restrict(self):
"""Strip __restrict keyword from use"""

Expand Down
4 changes: 0 additions & 4 deletions test/test_eigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def setup_class(cls):
warnings.simplefilter('ignore')
cppyy.include('Eigen/Dense')

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

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

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

Expand Down Expand Up @@ -102,7 +100,6 @@ def test02_comma_insertion(self):
for i in range(5):
assert v(i) == i+1

@mark.xfail
def test03_matrices_and_vectors(self):
"""Matrices and vectors"""

Expand Down Expand Up @@ -133,7 +130,6 @@ def test03_matrices_and_vectors(self):

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

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

Expand Down
9 changes: 0 additions & 9 deletions test/test_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def test01_instance_box_unbox(self):
with raises(TypeError):
cppyy.addressof('doesnotexist')

@mark.xfail
def test02_method_reflection(self):
"""Method reflection tooling"""

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

@mark.xfail
def test03_datamember_reflection(self):
"""Data member reflection tooling"""

Expand Down Expand Up @@ -119,7 +117,6 @@ def go_fast(a):
assert (go_fast(x) == go_slow(x)).all()
assert self.compare(go_slow, go_fast, 300000, x)

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

Expand Down Expand Up @@ -153,7 +150,6 @@ def go_fast(a):
assert (go_fast(x) == go_slow(x)).all()
assert self.compare(go_slow, go_fast, 100000, x)

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

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

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

Expand Down Expand Up @@ -272,7 +267,6 @@ def tma(x):

assert sum == tma(x)

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

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

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

Expand Down Expand Up @@ -730,7 +723,6 @@ def setup_class(cls):
import cppyy
import cppyy.numba_ext

@mark.xfail
def test01_templated_freefunction(self):
"""Numba support documentation example: free templated function"""

Expand Down Expand Up @@ -759,7 +751,6 @@ def tsa(a):
assert type(tsa(a)) == int
assert tsa(a) == 285

@mark.xfail
def test02_class_features(self):
"""Numba support documentation example: class features"""

Expand Down
1 change: 0 additions & 1 deletion test/test_stltypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,6 @@ def test01_string_through_string_view(self):
assert countit(v) == 4
assert countit_cr(v) == 4

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

Expand Down
3 changes: 0 additions & 3 deletions test/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ def test07_type_deduction(self):
assert issubclass(select_template_arg[0, int, float].argument, int)
assert issubclass(select_template_arg[1, int, float].argument, float)

@mark.xfail
def test08_using_of_static_data(self):
"""Derived class using static data of base"""

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

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

Expand Down Expand Up @@ -1316,7 +1314,6 @@ def setup_class(cls):
import cppyy
cls.templates = cppyy.load_reflection_info(cls.test_dct)

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

Expand Down
Loading