BUG: Fix testsuite failures on ppc and riscv#13095
Merged
mattip merged 2 commits intonumpy:masterfrom Mar 6, 2019
andreas-schwab:master
Merged
BUG: Fix testsuite failures on ppc and riscv#13095mattip merged 2 commits intonumpy:masterfrom andreas-schwab:master
mattip merged 2 commits intonumpy:masterfrom
andreas-schwab:master
Conversation
This fixes TestConversion.test_int_from_huge_longdouble.
This fixes numpy.f2py.tests.test_kind.TestKind
Member
|
Test failure not connected, comes from the doctests failing. See #13096 |
Member
|
@andreas-schwab does numpy build/run/pass tests on riscv? |
Contributor
Author
|
All except of numpy.core.tests.test_numeric.TestBoolCmp. https://build.opensuse.org/package/show/openSUSE:Factory:RISCV/python-numpy |
Member
|
Cool . I do see another couple of patches, is the remove-__declspec.patch still needed to reduce warnings? |
Contributor
Author
|
I don't know about the other patches, I do not maintain the openSUSE package. |
Member
|
Thanks @andreas-schwab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:PowerPC/python-numpy/standard/ppc:
=================================== FAILURES ===================================
_________________ TestConversion.test_int_from_huge_longdouble _________________
self = <numpy.core.tests.test_scalarmath.TestConversion object at 0xef02fef0>
E RuntimeWarning: overflow encountered in longdouble_scalars
exp = 1023
self = <numpy.core.tests.test_scalarmath.TestConversion object at 0xef02fef0>
../../../BUILDROOT/python-numpy-1.16.1-3.1.ppc/usr/lib/python2.7/site-packages/numpy/core/tests/test_scalarmath.py:431: RuntimeWarning
______________________________ TestKind.test_all _______________________________
self = <numpy.f2py.tests.test_kind.TestKind object at 0xeede8d50>
E AssertionError: selectedrealkind(16): expected 10 but got 16
i = 16
selectedintkind =
selectedrealkind =
self = <numpy.f2py.tests.test_kind.TestKind object at 0xeede8d50>
../../../BUILDROOT/python-numpy-1.16.1-3.1.ppc/usr/lib/python2.7/site-packages/numpy/f2py/tests/test_kind.py:34: AssertionError
= 2 failed, 7227 passed, 132 skipped, 11 xfailed, 2 xpassed in 490.92 seconds ==