diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-16 01:25:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-16 01:25:46 +0000 |
commit | 48aab9e032f7deca5ccc994356428c86f75ef2f7 (patch) | |
tree | 92958f441b3aeac59fc8ad2a8edb5a6419ee3aef | |
parent | 4b96ecc89f2ca222d0a94f880ee7ca25985a2d96 (diff) | |
download | ruby-48aab9e032f7deca5ccc994356428c86f75ef2f7.tar.gz |
* test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't be
Dir.pwd when the build directory is different from source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/rake/helper.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Nov 16 10:22:52 2012 NARUSE, Yui <naruse@ruby-lang.org> + + * test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't be + Dir.pwd when the build directory is different from source directory. + Fri Nov 16 09:41:08 2012 NARUSE, Yui <naruse@ruby-lang.org> * lib/rake/version.rb: workaround fix to build. see #7366 diff --git a/test/rake/helper.rb b/test/rake/helper.rb index 288ff0e3b2..b54390e0b8 100644 --- a/test/rake/helper.rb +++ b/test/rake/helper.rb @@ -31,7 +31,7 @@ class Rake::TestCase < MiniTest::Unit::TestCase def setup ARGV.clear - @orig_PWD = Dir.pwd + @orig_PWD = File.expand_path('../../..', __FILE__) @orig_APPDATA = ENV['APPDATA'] @orig_HOME = ENV['HOME'] @orig_HOMEDRIVE = ENV['HOMEDRIVE'] |