From ddc9aecd108d6a61c2b91cb3c2dd7d1e95f00258 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Fri, 16 Jun 2023 12:11:45 +1100 Subject: [PATCH] only run full test suite for one python version when in emulation --- recipe/meta.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 2b00d5f8d..4d1a2a10d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -372,9 +372,6 @@ outputs: {% set tests_to_skip = tests_to_skip + " or (test_flight and test_interrupt)" %} # [linux] # tests that may crash the agent due to out-of-bound memory writes or other risky stuff {% set tests_to_skip = tests_to_skip + " or test_debug_memory_pool" %} # [aarch64 or ppc64le] - {% set tests_to_skip = tests_to_skip + " or test_write_dataset_with_backpressure" %} # [aarch64 and cuda_compiler != None] - {% set tests_to_skip = tests_to_skip + " or test_named_table_invalid_table_name" %} # [aarch64 and cuda_compiler != None] - {% set tests_to_skip = tests_to_skip + " or test_native_file_pandas_text_reader" %} # [aarch64 and cuda_compiler != None] # cannot pass -D_LIBCPP_DISABLE_AVAILABILITY to test suite for our older macos sdk {% set tests_to_skip = tests_to_skip + " or test_cpp_extension_in_python" %} # [osx] # skip tests that make invalid(-for-conda) assumptions about the compilers setup @@ -401,7 +398,12 @@ outputs: {% set tests_to_skip = tests_to_skip + " or test_total_bytes_allocated " %} # [linux] {% set tests_to_skip = tests_to_skip + " or test_feather_format " %} # [linux] # ^^^^^^^ TESTS THAT SHOULDN'T HAVE TO BE SKIPPED ^^^^^^^ + {% if not (aarch64 or ppc64le) or py == 311 %} + # only run the full test suite for one python version when in emulation (each run takes ~45min); + # there's essentially zero divergence in behaviour across python versions anyway, and otherwise + # CUDA builds for aarch/ppc consistently would run out of disk space on azure for some reason - pytest -rfEs -k "not ({{ tests_to_skip }})" + {% endif %} about: home: http://github.com/apache/arrow