[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 88/92] gnu: python-qemu-qmp: Improve package style.
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 88/92] gnu: python-qemu-qmp: Improve package style. |
Date: |
Fri, 10 May 2024 00:54:23 +0200 |
* gnu/packages/virtualization.scm (python-qemu-qmp):
[arguments]<#:phases>: Rewrite check phase replacement to only run
tests/protocol.py and not quality-checks.
Change-Id: I3485e2ee10d46b1699674f506876e7c185674653
---
gnu/packages/virtualization.scm | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index c886c7489a7..0b46281050d 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2023,13 +2023,11 @@ (define-public python-qemu-qmp
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; The Avocado test runner insists on writing stuff to HOME.
- (setenv "HOME" "/tmp")
- ;; The mypy tests fail (see:
- ;; https://gitlab.com/jsnow/qemu.qmp/-/issues/1).
- (delete-file "tests/mypy.sh")
- (invoke "avocado" "--show=all" "run" "tests")))))))
+ (if tests?
+ (begin ; avocado insists on writing stuff to HOME.
+ (setenv "HOME" "/tmp")
+ (invoke "avocado" "--show=all" "run" "tests/protocol.py"))
+ (format #t "test suite not run~%")))))))
(native-inputs
(list python-avocado-framework
python-setuptools-scm
--
2.41.0
- [bug#70855] [PATCH 91/92] gnu: python-notebook: Add python-jupyter-server native-input., (continued)
- [bug#70855] [PATCH 91/92] gnu: python-notebook: Add python-jupyter-server native-input., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 76/92] gnu: python-zope-i18nmessageid: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 78/92] gnu: borgmatic: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 86/92] gnu: python-certauth: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 89/92] gnu: python-qemu-qmp: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 92/92] build-system/pyproject: Add missing native-inputs., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 85/92] gnu: python-warcio: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 79/92] gnu: tuir: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 87/92] gnu: python-matplotlib: Ignore failing tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 90/92] gnu: python-cssselect2: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 88/92] gnu: python-qemu-qmp: Improve package style.,
Nicolas Graves <=
- bug#70855: [PATCH 00/92] python-team patches, Nicolas Goaziou, 2024/05/23