aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-13 01:36:27 +0200
committerMarius Bakke <marius@gnu.org>2022-09-15 16:53:07 +0200
commitb0bd3ef9aabbfd45e72ba252a700d71e18e17842 (patch)
tree9f4783a32bb5f54fe14eb84e9d6982a1c73f76cd /gnu/packages
parent6737d8d3248301e65bc24291b1a776e4aa8c3648 (diff)
downloadguix-b0bd3ef9aabbfd45e72ba252a700d71e18e17842.tar.gz
guix-b0bd3ef9aabbfd45e72ba252a700d71e18e17842.zip
gnu: u-boot-tools: Disable check for 100% coverage.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Add substitution.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bootloaders.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index b521b57ecd..210bc30536 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -600,7 +600,12 @@ also initializes the boards (RAM etc).")
(("'cc'") "'gcc'"))
(substitute* "tools/patman/test_util.py"
;; python3-coverage is simply called coverage in guix.
- (("python3-coverage") "coverage"))
+ (("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")