unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55067] [PATCH] gnu: nomad-optimizer: Disable failing test.
@ 2022-04-22 16:20 Paul A. Patience
  2022-04-22 16:30 ` [bug#55067] [PATCH v2] " Paul A. Patience
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paul A. Patience @ 2022-04-22 16:20 UTC (permalink / raw)
  To: 55067; +Cc: Paul A. Patience

* gnu/packages/maths.scm (nomad-optimizer)[arguments]: Disable the
examples/advanced/library/PSDMads test.
---
It turns out the PSDMads test fails randomly.
I've disabled it.

 gnu/packages/maths.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index f4778179d6..26488a614c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2008,6 +2008,9 @@ (define-public nomad-optimizer
          (add-after 'fix-sources-for-build 'fix-sources-for-tests
            (lambda _
              (substitute* "examples/CMakeLists.txt"
+               ;; This test passes only sometimes.
+               (("^ +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 +2055,6 @@ (define-public nomad-optimizer
               "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)
--
2.35.1






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

end of thread, other threads:[~2022-04-26  8:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-22 16:20 [bug#55067] [PATCH] gnu: nomad-optimizer: Disable failing test Paul A. Patience
2022-04-22 16:30 ` [bug#55067] [PATCH v2] " Paul A. Patience
2022-04-22 17:25 ` [bug#55067] [PATCH] " Maxime Devos
2022-04-22 19:02   ` Paul A. Patience
2022-04-22 21:37     ` Maxime Devos
2022-04-25 19:10 ` [bug#55067] [PATCH v3] " Paul A. Patience
2022-04-26  8:45   ` bug#55067: [PATCH] " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).