guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: ruby-stackprof: Always skip the GC test.


From: guix-commits
Subject: 04/04: gnu: ruby-stackprof: Always skip the GC test.
Date: Fri, 30 Jun 2023 05:45:13 -0400 (EDT)

cbaines pushed a commit to branch ruby-team
in repository guix.

commit 76ea7d84340b24563efe7cc097fa85da3236a6c9
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Fri Jun 30 10:44:13 2023 +0100

    gnu: ruby-stackprof: Always skip the GC test.
    
    As this is very flaky.
    
    * gnu/packages/ruby.scm (ruby-stackprof)[arguments]: Tweak skipping tests.
---
 gnu/packages/ruby.scm | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 357b9a65ca..9b130c5474 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -9213,15 +9213,12 @@ navigation capabilities to @code{pry}, using 
@code{byebug}.")
                  "mocha>.freeze, [\"> 0.14\"])\n"))))
           (add-before 'check 'skip-dubious-test
             (lambda _
-              #$(if (or (target-riscv64?)
-                        (target-ppc32?))
-                    ;; This unreliable test can fail with "Expected 32 to be 
<= 25."
-                    #~(substitute* "test/test_stackprof.rb"
-                        ((".*assert_operator profile\\[:missed_samples.*") ""))
-                    ;; This unreliable test can fail with "Expected 0 to be >= 
1."
-                    #~(substitute* "test/test_stackprof.rb"
-                        (("def test_(cputime)" _ name)
-                         (string-append "def skip_" name))))))
+              (substitute* "test/test_stackprof.rb"
+                ;; This unreliable test can fail with "Expected 0 to be >= 1."
+                (("def test_(cputime)" _ name)
+                 (string-append "def skip_" name))
+                ;; This test often fails
+                (("def test_gc") "def skip_test_gc"))))
           (add-before 'check 'build-tests
             (lambda _
               (invoke "rake" "compile")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]