all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#41562] fix tests failing on flowee package
@ 2020-05-27 11:25 Tom Zander via Guix-patches via
  2020-05-29 13:27 ` [bug#41562] use consistent arguments Tom Zander via Guix-patches via
  0 siblings, 1 reply; 7+ messages in thread
From: Tom Zander via Guix-patches via @ 2020-05-27 11:25 UTC (permalink / raw)
  To: 41562

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

The comment to disable it is there, but only one of the two CMake lines that 
enables this test was removed. So now really disable it.
-- 
Tom Zander

[-- Attachment #2: 0001-gnu-flowee-Disable-unpredictable-test.patch --]
[-- Type: text/x-patch, Size: 1531 bytes --]

From bc9a3faa045579f48804cf42f958409e51cdfbf6 Mon Sep 17 00:00:00 2001
From: TomZ <tomz@freedommail.ch>
Date: Wed, 27 May 2020 13:21:58 +0200
Subject: [PATCH] gnu: flowee: Disable unpredictable test.

* gnu/packages/finance.scm (flowee): The test 'api' has some timeouts
  which fail half the time in a build, so disable the test.
---
 gnu/packages/finance.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f182057bb4..d176ac0660 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1531,7 +1531,7 @@ like Flowee the Hub, which Fulcrum connects to over RPC.")
          (base32 "1vwvaxm3b71pfx8l4rrv06wqks6xdf2333w856b36s1bzvj53rhc"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:configure-flags '("-Dbuild_tests=ON" "-Denable_gui=OFF")
+     `(#:configure-flags '("-Dbuild_tests=ON" "-Denable_gui=OFF" "-Denable_gui=false")
        #:phases
         (modify-phases %standard-phases
           (add-before 'configure 'make-qt-deterministic
@@ -1546,6 +1546,8 @@ like Flowee the Hub, which Fulcrum connects to over RPC.")
             (lambda _
               (substitute* "testing/CMakeLists.txt"
                 (("test_api") ""))
+              (substitute* "testing/CMakeLists.txt"
+                (("add_subdirectory\\(api\\)") ""))
               #t))
           (add-after 'configure 'set-build-info
             ;; Their genbuild.sh to generate a build.h fails in guix (no .git dir) .
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-30 12:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-27 11:25 [bug#41562] fix tests failing on flowee package Tom Zander via Guix-patches via
2020-05-29 13:27 ` [bug#41562] use consistent arguments Tom Zander via Guix-patches via
2020-05-29 20:56   ` Marius Bakke
2020-05-30  7:40     ` Tom Zander via Guix-patches via
2020-05-30  8:07       ` Marius Bakke
2020-05-30 12:21         ` Tom Zander via Guix-patches via
2020-05-30 12:34           ` bug#41562: " Marius Bakke

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.