[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: ocaml-dose3: Fix tests.
From: |
guix-commits |
Subject: |
branch master updated: gnu: ocaml-dose3: Fix tests. |
Date: |
Wed, 23 Jun 2021 08:44:44 -0400 |
This is an automated email from the git hooks/post-receive script.
roptat pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 91b29aa gnu: ocaml-dose3: Fix tests.
91b29aa is described below
commit 91b29aa37394b660117e1d79927621db1344b7fe
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Wed Jun 23 10:52:38 2021 +0200
gnu: ocaml-dose3: Fix tests.
* gnu/packages/ocaml.scm (ocaml-dose3)[arguments]<#:phases>: Add phase to
patch tests script.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index dd30f4c..1262c0e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -647,7 +647,14 @@ underlying solvers like Cplex, Gurobi, Lpsolver, Glpk,
CbC, SCIP or WBO.")
#:make-flags
(list (string-append "LIBDIR="
(assoc-ref %outputs "out")
- "/lib/ocaml/site-lib"))))
+ "/lib/ocaml/site-lib"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-test-script
+ (lambda _
+ (substitute* "applications/dose-tests.py"
+ (("warning\\(")
+ "from warnings import warn\nwarn(")))))))
(propagated-inputs
`(("ocaml-graph" ,ocaml-graph)
("ocaml-cudf" ,ocaml-cudf)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: ocaml-dose3: Fix tests.,
guix-commits <=