Skip to content

Commit

Permalink
Revert "Re-enable PPC tests (conda-forge#268)"
Browse files Browse the repository at this point in the history
This reverts commit 76f37ab, reversing
changes made to 541cf25.
  • Loading branch information
h-vetinari committed Jun 23, 2022
1 parent 0ae22d5 commit 785e1e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ azure:
SET_PAGEFILE: "True"
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
osx_arm64: osx_64
conda_forge_output_validation: true
github:
branch_name: main
tooling_branch_name: main
provider:
linux_ppc64le: travis
win: azure
test_on_native_only: true
11 changes: 5 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ requirements:
{% set tests_to_skip = "_not_a_real_test" %}
# https://github.com/numpy/numpy/issues/15243
{% set tests_to_skip = tests_to_skip + " or test_loss_of_precision[complex256]" %} # [ppc64le]
# Sometimes crashes on travis (needs too much memory); since 1.22.4 it fails for pypy
{% set tests_to_skip = tests_to_skip + " or test_large_archive" %} # [(CI == "travis") or ((python_impl == "pypy") and linux)]
# Fails for pypy since 1.22.4
{% set tests_to_skip = tests_to_skip + " or test_large_archive" %} # [(python_impl == "pypy") and linux]
# there are some tests that cannot really work in emulation, see e.g. numpy/numpy#20445
{% set tests_to_skip = tests_to_skip + " or Test_ARM_Features" %} # [build_platform != target_platform]
# test_new_policy reruns part of test suite; including a CPU feature test that fails in emulation
Expand All @@ -65,7 +65,7 @@ test:
requires:
- pytest
- pytest-timeout
- pytest-xdist # [CI != "travis"]
- pytest-xdist
# (mostly) optional test requirements (except wheel, python-cov, mypy), see
# https://github.com/numpy/numpy/blob/main/test_requirements.txt
- cffi # [py<=39 and python_impl != "pypy"]
Expand All @@ -86,10 +86,9 @@ test:
# failures that occured depending on presence/absence of e.g. AVX512);
# for signature of numpy.test see the following (note default: label='fast'),
# https://github.com/numpy/numpy/blob/maintenance/1.22.x/numpy/_pytesttester.py#L81-L82
{% set label = "'fast'" if (CI == "travis") or (aarch64 and python_impl == "pypy") else "'full'" %}
{% set num_proc = "'-nauto', " if (CI != "travis") else "" %}
{% set label = "'fast'" if ((aarch64 or ppc64le) and python_impl == "pypy") else "'full'" %}
{% set param = "verbose=1, label=" + label + ", tests=None" %}
{% set extra = "extra_argv=['-k', 'not (" + tests_to_skip + ")', " + num_proc + "'--timeout=3000', '--durations=50']" %}
{% set extra = "extra_argv=['-k', 'not (" + tests_to_skip + ")', '-nauto', '--timeout=3000', '--durations=50']" %}
- python -c "import numpy, sys; sys.exit(not numpy.test({{ param }}, {{ extra }}))"
imports:
- numpy
Expand Down

0 comments on commit 785e1e5

Please sign in to comment.