gnu: python-av: Simplify test exclusion list.

* gnu/packages/python-xyz.scm (python-av) [arguments] <test-flags>:
Rewrite a long list with STRING-JOIN, sort skipped tests alphabetically.

Change-Id: I7aa07504f45087dcc3c2f7ea8c65ec972f6fc62f
This commit is contained in:
Sharlatan Hellseher 2025-07-03 21:24:19 +01:00
parent c78c4b0027
commit a3a066da26
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -12634,79 +12634,74 @@ experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
;;
"--ignore=tests/test_doctests.py"
"--ignore=tests/test_timeout.py"
"-k"
(string-append
"not test_data"
" and not test_pts_assertion_same_rate"
" and not test_filter_h264_mp4toannexb"
" and not test_filter_output_parameters"
" and not test_filter_flush"
" and not test_bits_per_coded_sample"
" and not test_codec_delay"
" and not test_codec_tag"
" and not test_parse"
" and not test_decode_audio_sample_count"
" and not test_decode_close_then_use"
" and not test_decoded_motion_vectors"
" and not test_decoded_motion_vectors_no_flag"
" and not test_decoded_time_base"
" and not test_decoded_video_frame_count"
" and not test_encoding_aac"
" and not test_encoding_dnxhd"
" and not test_encoding_dvvideo"
" and not test_encoding_h264"
" and not test_encoding_mjpeg"
" and not test_encoding_mp2"
" and not test_encoding_mpeg1video"
" and not test_encoding_mpeg4"
" and not test_encoding_pcm_s24le"
" and not test_encoding_png"
" and not test_encoding_tiff"
" and not test_encoding_xvid"
" and not test_penguin_joke"
" and not test_sky_timelapse"
" and not test_flush_decoded_video_frame_count"
" and not test_transcode"
" and not test_container_probing"
" and not test_stream_probing"
" and not test_container_probing"
" and not test_stream_probing"
" and not test_container_probing"
" and not test_stream_probing"
" and not test_container_probing"
" and not test_stream_probing"
" and not test_path_input"
" and not test_str_input"
" and not test_path_output"
" and not test_str_output"
" and not test_is_keyframe"
" and not test_is_corrupt"
" and not test_is_discard"
" and not test_is_disposable"
" and not test_set_duration"
" and not test_reading_from_buffer"
" and not test_reading_from_buffer_no_seek"
" and not test_reading_from_file"
" and not test_reading_from_pipe_readonly"
" and not test_reading_from_write_readonly"
" and not test_writing_to_custom_io_dash"
" and not test_writing_to_custom_io_image2"
" and not test_decode_half"
" and not test_seek_end"
" and not test_seek_float"
" and not test_seek_int64"
" and not test_seek_middle"
" and not test_seek_start"
" and not test_stream_seek"
" and not test_selection"
" and not test_stream_tuples"
" and not test_noside_data"
" and not test_side_data"
" and not test_movtext"
" and not test_vobsub"
" and not test_subtitle_flush"
" and not test_opaque"
" and not test_roundtrip"))
;; See: <https://github.com/PyAV-Org/PyAV/issues/1942>.
"-k" (string-join
(list "not test_bits_per_coded_sample"
"test_codec_delay"
"test_codec_tag"
"test_container_probing"
"test_data"
"test_decode_audio_sample_count"
"test_decode_close_then_use"
"test_decode_half"
"test_decoded_motion_vectors"
"test_decoded_motion_vectors_no_flag"
"test_decoded_time_base"
"test_decoded_video_frame_count"
"test_encoding_aac"
"test_encoding_dnxhd"
"test_encoding_dvvideo"
"test_encoding_h264"
"test_encoding_mjpeg"
"test_encoding_mp2"
"test_encoding_mpeg1video"
"test_encoding_mpeg4"
"test_encoding_pcm_s24le"
"test_encoding_png"
"test_encoding_tiff"
"test_encoding_xvid"
"test_filter_flush"
"test_filter_h264_mp4toannexb"
"test_filter_output_parameters"
"test_flush_decoded_video_frame_count"
"test_is_corrupt"
"test_is_discard"
"test_is_disposable"
"test_is_keyframe"
"test_movtext"
"test_noside_data"
"test_opaque"
"test_parse"
"test_path_input"
"test_path_output"
"test_penguin_joke"
"test_pts_assertion_same_rate"
"test_reading_from_buffer"
"test_reading_from_buffer_no_seek"
"test_reading_from_file"
"test_reading_from_pipe_readonly"
"test_reading_from_write_readonly"
"test_roundtrip"
"test_seek_end"
"test_seek_float"
"test_seek_int64"
"test_seek_middle"
"test_seek_start"
"test_selection"
"test_set_duration"
"test_side_data"
"test_sky_timelapse"
"test_str_input"
"test_str_output"
"test_stream_probing"
"test_stream_seek"
"test_stream_tuples"
"test_subtitle_flush"
"test_transcode"
"test_vobsub"
"test_writing_to_custom_io_dash"
"test_writing_to_custom_io_image2")
" and not "))
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'build-extensions