mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
gnu: ruby-stackprof: Always skip the GC test.
As this is very flaky. * gnu/packages/ruby.scm (ruby-stackprof)[arguments]: Tweak skipping tests.
This commit is contained in:
parent
3f14b1b4f7
commit
d3d4cdf260
1 changed files with 6 additions and 9 deletions
|
@ -9213,15 +9213,12 @@ (define-public ruby-stackprof
|
|||
"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")))
|
||||
|
|
Loading…
Reference in a new issue