Skip to content

Commit

Permalink
remove test skips that worked around travis/drone timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Nov 5, 2021
1 parent 79462a6 commit f946a5f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,32 +42,16 @@ requirements:
{% set tests_to_skip = tests_to_skip + " or test_sincos_float32" %} # [linux64]
# https://github.com/numpy/numpy/issues/15243
{% set tests_to_skip = tests_to_skip + " or test_loss_of_precision[complex256]" %} # [ppc64le]
# Probably needs too much memory on ppc64le, it sometimes fails on travis
{% set tests_to_skip = tests_to_skip + " or test_large_archive or test_big_arrays" %} # [ppc64le]
# the following skips are the longest running tests at time of writing; all over 45sec, up to 750sec
# skipping is done purely to stop pypy jobs from regularly timing out on drone/travis
{% if (aarch64 or ppc64le) and (python_impl == "pypy") %}
{% set tests_to_skip = tests_to_skip + " or test_may_share_memory_easy_fuzz or test_may_share_memory_harder_fuzz"
+ " or test_binary_ufunc_1d_manual or test_diophantine_fuzz"
+ " or test_unary_ufunc_call_fuzz or test_unary_gufunc_fuzz"
+ " or test_big_arrays or test_large_archive or test_large_zip"
+ " or test_closing_fid or test_iter_buffered_reduce_reuse"
+ " or test_count_nonzero_all or test_divmod_128_64"
+ " or (test_generalized_sq_cases "
+ " and (TestCond or TestDet or TestInv or TestSolve))" %}
{% endif %}

test:
requires:
- pytest
- pytest-xdist # [aarch64]
- hypothesis
- setuptools
commands:
- f2py -h
{% set numproc = "-nauto" if aarch64 else "" %}
# np.test will show SIMD features of agent (some failures occur depending on presence/absence of e.g. AVX512)
- python -c "import numpy as np; np.test(verbose=3, durations=50, extra_argv=['-k', 'not ({{ tests_to_skip }})', '{{ numproc }}'])"
- python -c "import numpy as np; np.test(verbose=3, durations=50, extra_argv=['-k', 'not ({{ tests_to_skip }})'])"
imports:
- numpy
- numpy.core.multiarray
Expand Down

0 comments on commit f946a5f

Please sign in to comment.