gnu: qemu: Extend I/O test time-outs.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add an ‘extend-test-time-outs’ phase.master
parent
e48eac3b3e
commit
1b0cda6b44
|
@ -177,6 +177,14 @@
|
||||||
'("include")
|
'("include")
|
||||||
input-directories)
|
input-directories)
|
||||||
#t)))
|
#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
|
(add-after 'unpack 'disable-unusable-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/Makefile.include"
|
(substitute* "tests/Makefile.include"
|
||||||
|
|
Reference in New Issue