[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: ledger: Skip failing test.
From: |
Arun Isaac |
Subject: |
01/03: gnu: ledger: Skip failing test. |
Date: |
Wed, 4 Jul 2018 08:51:30 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit 948e888d3a35d88fe7a972a21f47f60ec5e4279b
Author: Arun Isaac <address@hidden>
Date: Wed Jul 4 18:11:30 2018 +0530
gnu: ledger: Skip failing test.
* gnu/packages/finance.scm (ledger)[arguments]: Set #:make-flags to skip
failing test BaselineTest_cmd-org. Replace check phase with the check phase
from gnu-build-system.
---
gnu/packages/finance.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index e69b3ca..3eab2fa 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2018 Eric Bavier <address@hidden>
;;; Copyright © 2018 Adriano Peluso <address@hidden>
;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
+;;; Copyright © 2018 Arun Isaac <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -142,6 +143,7 @@ line client and a client based on Qt.")
(build-system cmake-build-system)
(arguments
`(#:modules ((guix build cmake-build-system)
+ ((guix build gnu-build-system) #:prefix gnu:)
(guix build utils)
(guix build emacs-utils))
#:imported-modules (,@%cmake-build-system-modules
@@ -155,6 +157,10 @@ line client and a client based on Qt.")
,(string-append "-DUTFCPP_INCLUDE_DIR:PATH="
(assoc-ref %build-inputs "utfcpp")
"/include"))
+ ;; Skip failing test BaselineTest_cmd-org during the check phase.
+ ;; This is a known upstream issue. See
+ ;; https://github.com/ledger/ledger/issues/550
+ #:make-flags (list "ARGS=-E BaselineTest_cmd-org")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'install-examples
@@ -173,6 +179,7 @@ line client and a client based on Qt.")
(string-append (assoc-ref inputs "tzdata")
"/share/zoneinfo"))
#t))
+ (replace 'check (assoc-ref gnu:%standard-phases 'check))
(add-after 'install 'relocate-elisp
(lambda* (#:key outputs #:allow-other-keys)
(let* ((site-dir (string-append (assoc-ref outputs "out")