mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 20:15:25 -06:00
gnu: borgmatic: Enable tests.
* gnu/packages/backup.scm (borgmatic)[arguments]: Enable tests. Change-Id: Ie9db847586fd91d0ce1a7fa162d36878ed81fc00
This commit is contained in:
parent
cb0fadb84d
commit
2be190f989
1 changed files with 7 additions and 7 deletions
|
|
@ -1219,9 +1219,9 @@ compression parameters used by Gzip.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; XXX: all tests fail with error: AttributeError: module
|
||||
;; '_pytest.runner' has no attribute 'call_runtest_hook'.
|
||||
#:tests? #f
|
||||
#:test-flags
|
||||
;; TODO: Disable failing test.
|
||||
#~(list "-k" "not test_borgmatic_version_matches_news_version")
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'configure
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
|
@ -1238,10 +1238,10 @@ compression parameters used by Gzip.")
|
|||
"'")))))
|
||||
(add-before 'check 'set-path
|
||||
(lambda _
|
||||
;; Tests require the installed executable.
|
||||
(setenv "PATH"
|
||||
(string-append #$output "/bin" ":"
|
||||
(getenv "PATH"))))))))
|
||||
;; Tests require the installed executable.
|
||||
(setenv "PATH"
|
||||
(string-append #$output "/bin" ":"
|
||||
(getenv "PATH"))))))))
|
||||
(native-inputs
|
||||
(list python-flexmock
|
||||
python-pytest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue