[前][次][番号順一覧][スレッド一覧]

ruby-changes:56661

From: Nobuyoshi <ko1@a...>
Date: Thu, 25 Jul 2019 21:00:01 +0900 (JST)
Subject: [ruby-changes:56661] Nobuyoshi Nakada: 7e33f324e1 (master): Get rid of failures about coverage

https://git.ruby-lang.org/ruby.git/commit/?id=7e33f324e1

From 7e33f324e1d1de31a69d16dc9f27ec223523c6e8 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 25 Jul 2019 20:57:32 +0900
Subject: Get rid of failures about coverage

Run test suites explicitly instead of auto-running, to get rid of
failures when simplecov is not installed but COVERAGE is set.

diff --git a/tool/test/runner.rb b/tool/test/runner.rb
index 15b2cdd..1ee4fdf 100644
--- a/tool/test/runner.rb
+++ b/tool/test/runner.rb
@@ -19,4 +19,4 @@ when "-e" https://github.com/ruby/ruby/blob/trunk/tool/test/runner.rb#L19
 else
   dir = File.expand_path("..", $0)
 end
-Test::Unit::AutoRunner.new(true, dir)
+exit Test::Unit::AutoRunner.run(true, dir)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]