diff options
| author | jgart <jgart@dismail.de> | 2025-12-25 17:22:38 -0500 |
|---|---|---|
| committer | jgart <jgart@dismail.de> | 2025-12-25 17:27:55 -0500 |
| commit | 2be190f98966fc2ddbf0f929b101bbc1fffa0241 (patch) | |
| tree | 9d0451474089e61768ba79b436c7ca4d8ca769ae /gnu/packages/backup.scm | |
| parent | cb0fadb84defa8c0b1321e55eea81afd817d7f1f (diff) | |
gnu: borgmatic: Enable tests.
* gnu/packages/backup.scm (borgmatic)[arguments]: Enable tests.
Change-Id: Ie9db847586fd91d0ce1a7fa162d36878ed81fc00
Diffstat (limited to 'gnu/packages/backup.scm')
| -rw-r--r-- | gnu/packages/backup.scm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 073e1443239..019a1d7fc36 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm | |||
| @@ -1219,9 +1219,9 @@ compression parameters used by Gzip.") | |||
| 1219 | (build-system pyproject-build-system) | 1219 | (build-system pyproject-build-system) |
| 1220 | (arguments | 1220 | (arguments |
| 1221 | (list | 1221 | (list |
| 1222 | ;; XXX: all tests fail with error: AttributeError: module | 1222 | #:test-flags |
| 1223 | ;; '_pytest.runner' has no attribute 'call_runtest_hook'. | 1223 | ;; TODO: Disable failing test. |
| 1224 | #:tests? #f | 1224 | #~(list "-k" "not test_borgmatic_version_matches_news_version") |
| 1225 | #:phases #~(modify-phases %standard-phases | 1225 | #:phases #~(modify-phases %standard-phases |
| 1226 | (add-after 'unpack 'configure | 1226 | (add-after 'unpack 'configure |
| 1227 | (lambda* (#:key inputs #:allow-other-keys) | 1227 | (lambda* (#:key inputs #:allow-other-keys) |
| @@ -1238,10 +1238,10 @@ compression parameters used by Gzip.") | |||
| 1238 | "'"))))) | 1238 | "'"))))) |
| 1239 | (add-before 'check 'set-path | 1239 | (add-before 'check 'set-path |
| 1240 | (lambda _ | 1240 | (lambda _ |
| 1241 | ;; Tests require the installed executable. | 1241 | ;; Tests require the installed executable. |
| 1242 | (setenv "PATH" | 1242 | (setenv "PATH" |
| 1243 | (string-append #$output "/bin" ":" | 1243 | (string-append #$output "/bin" ":" |
| 1244 | (getenv "PATH")))))))) | 1244 | (getenv "PATH")))))))) |
| 1245 | (native-inputs | 1245 | (native-inputs |
| 1246 | (list python-flexmock | 1246 | (list python-flexmock |
| 1247 | python-pytest | 1247 | python-pytest |
