[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/17: gnu: ruby-ruby-prof: Disable a flaky test.
From: |
guix-commits |
Subject: |
17/17: gnu: ruby-ruby-prof: Disable a flaky test. |
Date: |
Sat, 11 Jul 2020 14:30:40 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 661ad8d7c50c6ab8cff83cf6613d982c93d06c5a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jul 10 15:19:38 2020 -0400
gnu: ruby-ruby-prof: Disable a flaky test.
A test was found to fail non-deterministically.
* gnu/packages/ruby.scm (ruby-ruby-prof)[phases]: Add the 'delete-flaky-test
phase.
---
gnu/packages/ruby.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e1c242a..1ade88a 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6524,6 +6524,14 @@ variable length integers (varint) in Ruby Protocol
Buffers.")
((".*require \"bundler/setup\".*" all)
(string-append all " require 'bundler/gem_tasks'\n")))
#t))
+ ;; The LineNumbersTest test fails non-deterministically (see:
+ ;; https://github.com/ruby-prof/ruby-prof/issues/276).
+ (add-after 'extract-gemspec 'delete-flaky-test
+ (lambda _
+ (delete-file "test/line_number_test.rb")
+ (substitute* "ruby-prof.gemspec"
+ (("\"test/line_number_test\\.rb\"\\.freeze, ") ""))
+ #t))
(add-before 'check 'compile
(lambda _
(invoke "rake" "compile"))))))
- 11/17: gnu: Add ruby-slim., (continued)
- 11/17: gnu: Add ruby-slim., guix-commits, 2020/07/11
- 05/17: gnu: ruby-sinatra: Update to 2.0.8.1., guix-commits, 2020/07/11
- 03/17: gnu: Add ruby-yard-with-tests., guix-commits, 2020/07/11
- 07/17: gnu: Add ruby-pandoc-ruby., guix-commits, 2020/07/11
- 12/17: gnu: ruby-asciidoctor: Re-indent., guix-commits, 2020/07/11
- 13/17: gnu: ruby-asciidoctor: Update to 2.0.10., guix-commits, 2020/07/11
- 09/17: gnu: ruby-tilt: Add pandoc, sassc support., guix-commits, 2020/07/11
- 16/17: gnu: Add ruby-yard-tomdoc., guix-commits, 2020/07/11
- 10/17: gnu: ruby-temple: Update to 0.8.2., guix-commits, 2020/07/11
- 15/17: gnu: Add ruby-tomparse., guix-commits, 2020/07/11
- 17/17: gnu: ruby-ruby-prof: Disable a flaky test.,
guix-commits <=
- 14/17: gnu: Add ruby-spectroscope., guix-commits, 2020/07/11