mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: qemu: Extend I/O test time-outs.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add an ‘extend-test-time-outs’ phase.
This commit is contained in:
parent
e48eac3b3e
commit
1b0cda6b44
1 changed files with 8 additions and 0 deletions
|
@ -177,6 +177,14 @@ (define-public qemu
|
|||
'("include")
|
||||
input-directories)
|
||||
#t)))
|
||||
(add-after 'unpack 'extend-test-time-outs
|
||||
(lambda _
|
||||
;; These tests can time out on heavily-loaded and/or slow storage.
|
||||
(substitute* (cons* "tests/qemu-iotests/common.qemu"
|
||||
(find-files "tests/qemu-iotests" "^[0-9]+$"))
|
||||
(("QEMU_COMM_TIMEOUT=[0-9]+" match)
|
||||
(string-append match "9")))
|
||||
(fail)))
|
||||
(add-after 'unpack 'disable-unusable-tests
|
||||
(lambda _
|
||||
(substitute* "tests/Makefile.include"
|
||||
|
|
Loading…
Reference in a new issue