mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 12:41:09 -06:00
gnu: u-boot-tools: Keep tests inputs only for x86_64 target.
* gnu/packages/bootloaders.scm (u-boot-tools)[native-inputs]: Apply condition to include python-coverage, python-pytest, and python-pytest-xdist only on x86_64 systems. Change-Id: I1cc9a734b3e8da28e801676111b3377f2a411055 Reviewed-by: Nicolas Graves <ngraves@ngraves.fr> Reviewed-by: Vagrant Cascadian <vagrant@debian.org> Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
ae63bbec6f
commit
9b2bb05c7d
1 changed files with 11 additions and 9 deletions
|
|
@ -927,12 +927,16 @@ Info manual.")))
|
|||
(inherit u-boot)
|
||||
(name "u-boot-tools")
|
||||
(native-inputs
|
||||
(modify-inputs (package-native-inputs u-boot)
|
||||
(prepend python-coverage
|
||||
python-filelock
|
||||
python-pycryptodomex
|
||||
python-pytest
|
||||
python-pytest-xdist)))
|
||||
(if (string-match "^x86_64-linux" (%current-system))
|
||||
(modify-inputs (package-native-inputs u-boot)
|
||||
(prepend python-filelock
|
||||
python-pycryptodomex
|
||||
python-coverage
|
||||
python-pytest
|
||||
python-pytest-xdist))
|
||||
(modify-inputs (package-native-inputs u-boot)
|
||||
(prepend python-filelock
|
||||
python-pycryptodomex))))
|
||||
(arguments
|
||||
`(#:make-flags '("HOSTCC=gcc")
|
||||
#:test-target "tcheck"
|
||||
|
|
@ -1033,9 +1037,7 @@ CONFIG_TOOLS_KWBIMAGE=n")
|
|||
(invoke "test/image/test-imagetools.sh"))))
|
||||
;; Only run full test suite on x86_64 systems, as many tests
|
||||
;; assume x86_64.
|
||||
,@(if (string-match "^x86_64-linux"
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
,@(if (string-match "^x86_64-linux" (%current-system))
|
||||
'((add-after 'check 'check-x86
|
||||
(lambda* (#:key make-flags test-target tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue