mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Fix pre-2.7.0 qemu builds.
This is a follow-up to 43bec6d0
.
* gnu/packages/debug.scm (qemu-2.3.0),
gnu/packages/grub.scm (qemu-for-tests)[arguments]: Remove the
'disable-test-qga phase.
This commit is contained in:
parent
6779b93222
commit
83723949a4
2 changed files with 11 additions and 2 deletions
|
@ -161,7 +161,10 @@ (define qemu-2.3.0
|
|||
;; XXX: Disable tests because of GTester's rejection of duplicate test
|
||||
;; names, which wasn't addressed in this version of QEMU.
|
||||
`(#:tests? #f
|
||||
,@(package-arguments qemu-minimal)))))
|
||||
,@(substitute-keyword-arguments (package-arguments qemu-minimal)
|
||||
((#:phases phases)
|
||||
;; We disable the tests so we skip the phase disabling the qga test.
|
||||
`(modify-phases ,phases (delete 'disable-test-qga))))))))
|
||||
|
||||
(define-public american-fuzzy-lop
|
||||
(let ((machine (match (or (%current-target-system)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
(define-module (gnu packages grub)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module ((guix licenses) #:select (gpl3+))
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (gnu packages)
|
||||
|
@ -58,7 +59,12 @@ (define qemu-for-tests
|
|||
;; ERROR:tests/rtc-test.c:176:check_time: assertion failed (ABS(t - s) <= wiggle): (382597824 <= 2)
|
||||
;; Simply disable the tests.
|
||||
(arguments `(#:tests? #f
|
||||
,@(package-arguments qemu-minimal)))
|
||||
,@(substitute-keyword-arguments (package-arguments qemu-minimal)
|
||||
((#:phases phases)
|
||||
;; We disable the tests so we also skip the phase disabling
|
||||
;; the qga test, which fails due to changes in QEMU
|
||||
`(modify-phases ,phases
|
||||
(delete 'disable-test-qga))))))
|
||||
|
||||
;; The manual fails to build with Texinfo 5.x.
|
||||
(native-inputs (alist-delete "texinfo" (package-native-inputs qemu)))))
|
||||
|
|
Loading…
Reference in a new issue