This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ee89bbb5ed gnu: nomad-optimizer: Disable failing test.
ee89bbb5ed is described below
commit ee89bbb5ed24cf22e2cbce50c4f328dd4d6c70dd
Author: Paul A. Patience <[email protected]>
AuthorDate: Mon Apr 25 19:10:10 2022 +0000
gnu: nomad-optimizer: Disable failing test.
* gnu/packages/maths.scm (nomad-optimizer)[arguments]: Disable the
examples/advanced/library/PSDMads test.
Signed-off-by: Mathieu Othacehe <[email protected]>
---
gnu/packages/maths.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index f4778179d6..fcd9c5482f 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -45,7 +45,7 @@
;;; Copyright © 2021 Gerd Heber <[email protected]>
;;; Copyright © 2021 Franck Pérignon <[email protected]>
;;; Copyright © 2021 Philip McGrath <[email protected]>
-;;; Copyright © 2021 Paul A. Patience <[email protected]>
+;;; Copyright © 2021, 2022 Paul A. Patience <[email protected]>
;;; Copyright © 2021 Ivan Gankevich <[email protected]>
;;; Copyright © 2021 Jean-Baptiste Volatier <[email protected]>
;;; Copyright © 2021 Guillaume Le Vaillant <[email protected]>
@@ -2008,6 +2008,10 @@ interfaces.")
(add-after 'fix-sources-for-build 'fix-sources-for-tests
(lambda _
(substitute* "examples/CMakeLists.txt"
+ ;; This test passes only sometimes.
+ ;; See https://github.com/bbopt/nomad/issues/72.
+ (("^
+add_subdirectory\\(\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/advanced/library/PSDMads\\)\n")
+ "")
;; examples/basic/batch/example3 is accidentally omitted.
(("^(add_subdirectory\\(\\$\\{CMAKE_CURRENT_SOURCE_DIR\\}/basic/batch/example)2(\\)\n)"
_ prefix suffix)
@@ -2052,10 +2056,6 @@ interfaces.")
"examples/advanced/library/exampleSuggestAndObserve/cache0.txt")
(let ((builddir (string-append (getcwd) "/../build")))
- ;; For some reason, omitting this fix causes the
- ;; examples/advanced/library/PSDMads test to fail, even though
- ;; it doesn't seem to reference any part of the FixedVariable
- ;; test.
(let ((dir "examples/advanced/library/FixedVariable"))
(substitute* (string-append dir "/fixedVariable.cpp")
(("^( +std::string sExe = ).*" _ prefix)