From patchwork Fri Apr 22 16:20:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38754 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ABAED27BBEA; Fri, 22 Apr 2022 17:22:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 72CA627BBE9 for ; Fri, 22 Apr 2022 17:22:10 +0100 (BST) Received: from localhost ([::1]:60272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhw2r-00041s-Jt for patchwork@mira.cbaines.net; Fri, 22 Apr 2022 12:22:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhw2k-00041g-Mo for guix-patches@gnu.org; Fri, 22 Apr 2022 12:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhw2k-0003AY-4y for guix-patches@gnu.org; Fri, 22 Apr 2022 12:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhw2j-0001mH-Th for guix-patches@gnu.org; Fri, 22 Apr 2022 12:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55067] [PATCH] gnu: nomad-optimizer: Disable failing test. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 16:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55067@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16506444656755 (code B ref -1); Fri, 22 Apr 2022 16:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2022 16:21:05 +0000 Received: from localhost ([127.0.0.1]:54583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhw1p-0001kr-0N for submit@debbugs.gnu.org; Fri, 22 Apr 2022 12:21:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:41120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhw1n-0001ki-GD for submit@debbugs.gnu.org; Fri, 22 Apr 2022 12:21:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhw1m-0003z9-Ci for guix-patches@gnu.org; Fri, 22 Apr 2022 12:21:03 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:48581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhw1a-0002z6-9u for guix-patches@gnu.org; Fri, 22 Apr 2022 12:21:01 -0400 Date: Fri, 22 Apr 2022 16:20:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650644447; bh=xdRZumKgmixTdpP6UxAtSKQ22SgWfuWK+01aieKuEAM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=fXiSN/QL+2cBOfC6lnEcad44dpS1p3KHcLddrMwPkKs3Xa7MKWVqAWAT3ZZ1Vs7y0 IsWRPy3XnkAKfim5VKZEDd8wgyiSegHxvx4Zy7kiFDIq//tlU7hbuBCeHMo0phZUh0 BarmoAL7I17ktnsuM1jkfLVnnC5k1Szme/d+7OhWAAIng5NtttkqjPC64rpzNP7l2w WzTwUW+s+w/SYimOE3eGdVrEcSXIiRV8kyD7fYIYagShApqdxp5BjPtjawpOMJw14U 1cKW2Lqk9nlkGxRJbg7udzRvjcarnDve08AiQNdplncWRtmVCsuhTgkY0zXvZyxphc CAIw7uB0U7wEA== From: "Paul A. Patience" Message-ID: <20220422162024.91287-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.18; envelope-from=paul@apatience.com; helo=mail-4018.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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(-) -- 2.35.1 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)