bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57316: [PATCH] gnu: dejagnu: Avoid non-deterministic test failure.


From: Maxime Devos
Subject: bug#57316: [PATCH] gnu: dejagnu: Avoid non-deterministic test failure.
Date: Mon, 22 Aug 2022 11:37:38 +0200

I cannot reproduce the test failure locally myself.

* gnu/packages/dejagnu.scm (dejagnu)[#:out-of-source?]:
Do an out-of-source build, as recommended upstream, and
add a link to the upstream bug report.
---
 gnu/packages/dejagnu.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/dejagnu.scm b/gnu/packages/dejagnu.scm
index f3445b3d87..579a1a7a40 100644
--- a/gnu/packages/dejagnu.scm
+++ b/gnu/packages/dejagnu.scm
@@ -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

base-commit: d08411ffd0a36a6b67a238be69d32c9f74101389
-- 
2.37.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]