Skip to content

Commit

Permalink
Merge pull request #6474 from stuartarchibald/fix/6465
Browse files Browse the repository at this point in the history
Add skip on PPC64LE for tests causing SIGABRT in LLVM.
  • Loading branch information
sklam committed Nov 12, 2020
2 parents 14d0e62 + 7127466 commit 7b80931
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions numba/tests/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
("Hits: 'Parameter area must exist "
"to pass an argument in memory'"))


# See issue #6465, PPC64LE LLVM bug
skip_ppc64le_issue6465 = unittest.skipIf(platform.machine() == 'ppc64le',
("Hits: 'mismatch in size of "
"parameter area' in "
"LowerCall_64SVR4"))


skip_unless_py37_or_later = lambda reason: \
unittest.skipIf(utils.PYVERSION < (3, 7),
reason)
Expand Down
3 changes: 2 additions & 1 deletion numba/tests/test_record_dtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from numba.np.numpy_support import numpy_version
import unittest
from numba.np import numpy_support
from numba.tests.support import TestCase
from numba.tests.support import TestCase, skip_ppc64le_issue6465

_FS = ('e', 'f')

Expand Down Expand Up @@ -917,6 +917,7 @@ def get_cfunc(self, pyfunc, argspec):
return _get_cfunc_nopython(pyfunc, argspec)


@skip_ppc64le_issue6465
class TestRecordDtypeWithCharSeq(unittest.TestCase):

def _createSampleaArray(self):
Expand Down

0 comments on commit 7b80931

Please sign in to comment.