gnu: dejagnu: Avoid non-deterministic test failure.

I cannot reproduce the test failure locally myself.

* gnu/packages/dejagnu.scm (dejagnu)[arguments]: Add #:out-of-source?.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Maxime Devos 2022-08-22 11:37:38 +02:00 committed by Ludovic Courtès
parent 42e3089752
commit 0e30579845
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3,6 +3,7 @@
;;; Copyright © 2016, 2017, 2022 Efraim Flashner <efraim@flasher.co.il>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@ -44,6 +45,9 @@ (define-public dejagnu
(inputs (list bash-minimal expect))
(arguments
(list
;; Do an out-of-source build to work-around a non-deterministic bug in Expect:
;; <https://lists.gnu.org/archive/html/bug-dejagnu/2021-06/msg00013.html>.
#:out-of-source? #true
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh