[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/94: gnu: ruby-stackprof: Always skip the GC test.
From: |
guix-commits |
Subject: |
82/94: gnu: ruby-stackprof: Always skip the GC test. |
Date: |
Mon, 3 Jul 2023 06:06:37 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit 246467eee9289df5452c30123e94249f64392dde
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 024e436664..68db28eb17 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")))
- 50/94: gnu: ruby-bootsnap: Fix build., (continued)
- 50/94: gnu: ruby-bootsnap: Fix build., guix-commits, 2023/07/03
- 41/94: gnu: ruby-oedipus-lex: Update to 2.6.1., guix-commits, 2023/07/03
- 43/94: gnu: ruby-rest-client: Update to 2.1.0., guix-commits, 2023/07/03
- 48/94: gnu: ruby-rdoc: Update to 6.5.0., guix-commits, 2023/07/03
- 36/94: gnu: Add ruby-http-accept., guix-commits, 2023/07/03
- 49/94: gnu: %ruby-rails-version: Update to 7.0.5.1., guix-commits, 2023/07/03
- 53/94: gnu: zsh-autosuggestions: Remove ruby-byebug dependency., guix-commits, 2023/07/03
- 57/94: gnu: ruby-wapiti: Update to 2.1.0., guix-commits, 2023/07/03
- 70/94: gnu: ruby-spy: Remove ruby-pry-byebug input., guix-commits, 2023/07/03
- 77/94: gnu: ruby-text-hyphen: Update to 1.5.0., guix-commits, 2023/07/03
- 82/94: gnu: ruby-stackprof: Always skip the GC test.,
guix-commits <=
- 83/94: gnu: ruby-minitest-4: Fix build., guix-commits, 2023/07/03
- 91/94: gnu: ruby-minitest-tu-shim: Fix build., guix-commits, 2023/07/03
- 93/94: gnu: ruby-version-gem: Update to 1.1.3., guix-commits, 2023/07/03
- 23/94: gnu: ruby-sqlite3: Update to 1.6.3., guix-commits, 2023/07/03
- 21/94: gnu: ruby-stackprof: Update to 0.2.25., guix-commits, 2023/07/03
- 51/94: gnu: ruby-marcel: Fix build., guix-commits, 2023/07/03
- 37/94: gnu: Add ruby-http-accept-1., guix-commits, 2023/07/03
- 44/94: gnu: ruby-cucumber: Fix build., guix-commits, 2023/07/03
- 39/94: gnu: ruby-hoe: Fix build., guix-commits, 2023/07/03
- 45/94: gnu: ruby-puma: Update to 6.3.0., guix-commits, 2023/07/03