Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-enable testing for PPC in emulation #225

Merged
merged 2 commits into from
Jan 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,8 @@ requirements:
{% set tests_to_skip = "_not_a_real_test" %}
# skip a test that fails with MKL + AVX512 (non-AVX512 passes), scipy/scipy#15533
{% set tests_to_skip = tests_to_skip + " or test_x0_equals_Mb[bicgstab]" %}
# scipy/scipy#16926
{% set tests_to_skip = tests_to_skip + " or test_solve_discrete_are" %} # [linux]
# scipy/scipy#16927
{% set tests_to_skip = tests_to_skip + " or test_failure_to_run_iterations" %} # [linux]
# accuracy failure with AVX512
{% set tests_to_skip = tests_to_skip + " or (TestTruncnorm and test_moments)" %}
# these multithreading tests occasionally hang in emulation
{% set tests_to_skip = tests_to_skip + " or test_immediate_updating" %} # [aarch64 or ppc64le]
{% set tests_to_skip = tests_to_skip + " or test_mixed_threads_processes" %} # [aarch64 or ppc64le]
Expand All @@ -89,10 +85,6 @@ requirements:
{% set tests_to_skip = tests_to_skip + " or (test_optimize and TestBrute and test_workers)" %} # [aarch64 or ppc64le]
# tests that run into timeouts (set in scipy test suite) in emulation
{% set tests_to_skip = tests_to_skip + " or (test_propack and test_examples)" %} # [aarch64 or ppc64le]
# needs one or two gc.collect()
{% set tests_to_skip = tests_to_skip + " or test_cdist_refcount" %} # [python_impl == "pypy"]
# unclear why a warning isn't raised. Might be related to scipy/scipy#15121
{% set tests_to_skip = tests_to_skip + " or test_boost_eval_issue_14606" %} # [python_impl == "pypy"]
# very slow tests for pypy in emulation
{% set tests_to_skip = tests_to_skip + " or test_cont_basic[500" %} # [(python_impl == "pypy") and (aarch64 or ppc64le)]
{% set tests_to_skip = tests_to_skip + " or TestDifferentialEvolutionSolver" %} # [(python_impl == "pypy") and (aarch64 or ppc64le)]
Expand All @@ -117,9 +109,7 @@ test:
# https://github.com/scipy/scipy/blob/v1.7.0/scipy/_lib/_testutils.py#L27
{% set param = "verbose=1, label=" + label + ", tests=None" %}
{% set extra = "extra_argv=['-k', 'not (" + tests_to_skip + ")', '-nauto', '--timeout=1200', '--durations=50']" %}
- python -c "import scipy, sys; sys.exit(not scipy.test({{ param }}, {{ extra }}))" # [not ppc64le]
# NOTE: test suite is skipped on ppc due to bugs in QEMU code that cause
# CI to fail, even though the tests would run through on native hardware
- python -c "import scipy, sys; sys.exit(not scipy.test({{ param }}, {{ extra }}))"
imports:
- scipy
# reference for public API is effectively
Expand Down