diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-13 01:36:27 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-15 16:53:07 +0200 |
commit | b0bd3ef9aabbfd45e72ba252a700d71e18e17842 (patch) | |
tree | 9f4783a32bb5f54fe14eb84e9d6982a1c73f76cd | |
parent | 6737d8d3248301e65bc24291b1a776e4aa8c3648 (diff) | |
download | guix-b0bd3ef9aabbfd45e72ba252a700d71e18e17842.tar.gz |
gnu: u-boot-tools: Disable check for 100% coverage.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Add substitution.
-rw-r--r-- | gnu/packages/bootloaders.scm | 7 |
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") |