python-numba/skip-failing-tests.patch
Matej Cepl e18eb501ab Accepting request 1046565 from home:bnavigator:branches:devel:languages:python:numeric
- Split out python flavors into testing multibuilds. Depending on
  the obs worker, the test suite can take almost an hour per
  flavor.
- Replace allow-numpy-1.24.patch with an updated
  numba-pr8620-np1.24.patch to also work with still present numpy
  1.23 in Factory (discussed upstream in gh#numba/numba#8620)
- Merge fix-cli-test.patch into skip-failing-tests.patch

OBS-URL: https://build.opensuse.org/request/show/1046565
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numba?expand=0&rev=62
2023-01-03 18:24:04 +00:00

56 lines
2.3 KiB
Diff

---
numba/tests/test_parfors.py | 5 +++--
numba/tests/test_parfors_passes.py | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
--- a/numba/tests/test_parfors.py
+++ b/numba/tests/test_parfors.py
@@ -1174,6 +1174,7 @@ class TestParforNumPy(TestParforsBase):
self.check_variants(test_impl2, data_gen)
self.count_parfors_variants(test_impl2, data_gen)
+ @unittest.skip("Fails on type check in OBS")
def test_ndarray_fill(self):
def test_impl(x):
x.fill(7.0)
@@ -4396,7 +4397,7 @@ class TestParforsVectorizer(TestPrangeBa
# to check vsqrtpd operates on zmm
match_vsqrtpd_on_zmm = re.compile('\n\s+vsqrtpd\s+.*zmm.*\n')
- @linux_only
+ @unittest.skip("Our x86_64 asm is most probably different from the upstream one.")
def test_vectorizer_fastmath_asm(self):
""" This checks that if fastmath is set and the underlying hardware
is suitable, and the function supplied is amenable to fastmath based
@@ -4439,7 +4440,7 @@ class TestParforsVectorizer(TestPrangeBa
# check no zmm addressing is present
self.assertTrue('zmm' not in v)
- @linux_only
+ @unittest.skip("Our x86_64 asm is most probably different from the upstream one.")
def test_unsigned_refusal_to_vectorize(self):
""" This checks that if fastmath is set and the underlying hardware
is suitable, and the function supplied is amenable to fastmath based
--- a/numba/tests/test_parfors_passes.py
+++ b/numba/tests/test_parfors_passes.py
@@ -516,6 +516,7 @@ class TestConvertLoopPass(BaseTest):
str(raises.exception),
)
+ @unittest.skip("Fails on type check in OBS")
def test_init_prange(self):
def test_impl():
n = 20
Index: numba-0.56.2/numba/tests/test_cli.py
===================================================================
--- numba-0.56.2.orig/numba/tests/test_cli.py
+++ numba-0.56.2/numba/tests/test_cli.py
@@ -264,6 +264,7 @@ class TestGDBCLIInfoBrokenGdbs(TestCase)
self.assertIn("No such file or directory", stdout)
self.assertIn(path, stdout)
+ @unittest.skip("Fails on type check in OBS")
def test_nonsense_gdb_binary(self):
# Tests that a nonsense binary specified as gdb it picked up ok
env = os.environ.copy()