[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70858] [PATCH python-team v2 08/32] gnu: u-boot-tools: Remove pytho
From: |
Nicolas Graves |
Subject: |
[bug#70858] [PATCH python-team v2 08/32] gnu: u-boot-tools: Remove python-coverage native-input. |
Date: |
Sat, 1 Jun 2024 17:36:40 +0200 |
* gnu/packages/bootloaders.scm (u-boot-tools):
[native-inputs]: Remove python-coverage.
[arguments]<#:phases>: Adapt patch phase.
Change-Id: I94394544079197b4a3f8c53cc0b3d78d1f5dc8be
---
gnu/packages/bootloaders.scm | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 0e7bc66bd75..cf568b2bd6a 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -802,8 +802,7 @@ (define-public u-boot-tools
(name "u-boot-tools")
(native-inputs
(modify-inputs (package-native-inputs u-boot)
- (prepend python-coverage
- python-filelock
+ (prepend python-filelock
python-pycryptodomex
python-pytest
python-pytest-xdist
@@ -820,14 +819,6 @@ (define-public u-boot-tools
(("/bin/false") (which "false")))
(substitute* "tools/dtoc/fdt_util.py"
(("'cc'") "'gcc'"))
- (substitute* "tools/u_boot_pylib/test_util.py"
- ;; python3-coverage is simply called coverage in guix.
- (("python3-coverage") "coverage")
-
- ;; Don't require 100% coverage since it's brittle and can
- ;; fail with newer versions of coverage or dependencies.
- (("raise ValueError\\('Test coverage failure'\\)")
- "print('Continuing anyway since Guix does not care :O')"))
(substitute* "test/run"
;; Make it easier to find test failures.
(("#!/bin/bash") "#!/bin/bash -x")
@@ -838,9 +829,9 @@ (define-public u-boot-tools
;; FIXME: test_spl fails, needs further investiation
(("test_ofplatdata or test_handoff or test_spl")
"test_ofplatdata or test_handoff")
- ;; FIXME: code coverage not working
- (("run_test \"binman code coverage\"")
- "# run_test \"binman code coverage\"")
+ ;; Disable code coverage tests.
+ (("run_test \"(\\w+) code coverage\"" all)
+ (string-append "# " all))
;; This test would require internet access.
(("\\./tools/buildman/buildman") (which "true")))
(substitute* "test/py/tests/test_sandbox_exit.py"
--
2.41.0
- [bug#70858] [PATCH python-team v2 00/32] Remove unwanted native-inputs., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 02/32] build-system/pyproject: Ignore unwanted pytest flags., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 01/32] guix: import: pypi: Ignore pypi-ignored-inputs., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 03/32] build-system/pyproject: Remove python-black input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 04/32] build-system/pyproject: Remove python-pylint native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 05/32] build-system/pyproject: Remove python-flake8 inputs., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 06/32] build-system/pyproject: Remove python-coverage input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 10/32] gnu: python-openid: Remove python-coverage native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 11/32] build-system/pyproject: Remove python-coveralls native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 09/32] gnu: python-aiosqlite: Remove python-coverage native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 08/32] gnu: u-boot-tools: Remove python-coverage native-input.,
Nicolas Graves <=
- [bug#70858] [PATCH python-team v2 16/32] build-system/pyproject: Remove python-codecov native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 12/32] build-system/pyproject: Remove python-pycodestyle native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 13/32] gnu: python-versioneer: Remove python-pycodestyle native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 14/32] gnu: python-versioneer: Remove python-pyflakes native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 17/32] build-system/pyproject: Remove python-tox native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 19/32] gnu: python-immutables: Remove python-mypy native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 18/32] build-system/pyproject: Remove python-mypy native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 07/32] gnu: python-cram: Remove python-coverage native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 15/32] gnu: python-re-assert: Remove python-covdefaults native-input., Nicolas Graves, 2024/06/01
- [bug#70858] [PATCH python-team v2 20/32] build-system/pyproject: Remove python-isort native-input., Nicolas Graves, 2024/06/01