ruby-changes:47657
From: usa <ko1@a...>
Date: Fri, 8 Sep 2017 02:45:51 +0900 (JST)
Subject: [ruby-changes:47657] usa:r59773 (trunk): the working directory may not be srcdir
usa 2017-09-08 02:45:34 +0900 (Fri, 08 Sep 2017) New Revision: 59773 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59773 Log: the working directory may not be srcdir * test/runner.rb (COVERAGE): should use require_relative instead of require, because the working directory may not be srcdir. Modified files: trunk/test/runner.rb Index: test/runner.rb =================================================================== --- test/runner.rb (revision 59772) +++ test/runner.rb (revision 59773) @@ -26,7 +26,7 @@ require_relative 'lib/zombie_hunter' https://github.com/ruby/ruby/blob/trunk/test/runner.rb#L26 require_relative 'lib/iseq_loader_checker' if ENV['COVERAGE'] - require "tool/test-coverage.rb" + require_relative "../tool/test-coverage.rb" end begin -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/