diff --git a/test/test_boost.py b/test/test_boost.py index 63e75cf6..921fac67 100644 --- a/test/test_boost.py +++ b/test/test_boost.py @@ -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""" @@ -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""" diff --git a/test/test_concurrent.py b/test/test_concurrent.py index 5d74d0cd..085289ba 100644 --- a/test/test_concurrent.py +++ b/test/test_concurrent.py @@ -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""" @@ -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""" @@ -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""" diff --git a/test/test_cpp11features.py b/test/test_cpp11features.py index f3595c5d..090396d4 100644 --- a/test/test_cpp11features.py +++ b/test/test_cpp11features.py @@ -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""" @@ -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""" @@ -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""" diff --git a/test/test_datatypes.py b/test/test_datatypes.py index 10ede101..60c1caa5 100644 --- a/test/test_datatypes.py +++ b/test/test_datatypes.py @@ -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""" diff --git a/test/test_eigen.py b/test/test_eigen.py index 9c04a103..16d4d997 100644 --- a/test/test_eigen.py +++ b/test/test_eigen.py @@ -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""" @@ -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""" @@ -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""" @@ -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""" diff --git a/test/test_numba.py b/test/test_numba.py index 7fd1a992..2fe2db1c 100644 --- a/test/test_numba.py +++ b/test/test_numba.py @@ -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""" @@ -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""" @@ -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""" @@ -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""" @@ -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""" @@ -272,7 +267,6 @@ def tma(x): assert sum == tma(x) - @mark.xfail def test07_datatype_mapping(self): """Numba-JITing of various data types""" @@ -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""" @@ -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""" @@ -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""" diff --git a/test/test_stltypes.py b/test/test_stltypes.py index 95ad05b1..e50e963d 100644 --- a/test/test_stltypes.py +++ b/test/test_stltypes.py @@ -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""" diff --git a/test/test_templates.py b/test/test_templates.py index 2b2f3c3b..ce0d534f 100644 --- a/test/test_templates.py +++ b/test/test_templates.py @@ -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""" @@ -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""" @@ -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)"""