1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-pyzbar: Fix test flags.

* gnu/packages/aidc.scm (python-pyzbar)[arguments] <test-flags>: Adjust
skipped tests, "-k" option does not support glob pattern use explicit
"--deselect" parameter and skip 2 tests.

Change-Id: Iad255dd3bb71c98c385c2e03e75435fef3fe7172
This commit is contained in:
Sharlatan Hellseher
2026-01-25 18:02:15 +00:00
committed by Andreas Enge
parent 5354fbaaca
commit 8e9cec519e

View File

@@ -74,9 +74,15 @@
(arguments
(list
#:test-flags
;; This tests if find_library was called once, but we remove
;; the call in the stage below to make the library find libzbar.
#~(list "-k" "not test_*_found_non_windows")
;; This tests if find_library was called once, but we remove the call in
;; the stage below to make the library find libzbar.
#~(list #$@(map (lambda (test) (string-append "--deselect="
"pyzbar/tests/"
"test_zbar_library.py::"
"TestLoad::"
test))
(list "test_found_non_windows"
"test_not_found_non_windows")))
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-library-file-name