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

ruby-changes:25612

From: naruse <ko1@a...>
Date: Fri, 16 Nov 2012 10:27:42 +0900 (JST)
Subject: [ruby-changes:25612] naruse:r37669 (trunk): * test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't be

naruse	2012-11-16 10:25:46 +0900 (Fri, 16 Nov 2012)

  New Revision: 37669

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37669

  Log:
    * test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't be
      Dir.pwd when the build directory is different from source directory.

  Modified files:
    trunk/ChangeLog
    trunk/test/rake/helper.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37668)
+++ ChangeLog	(revision 37669)
@@ -1,3 +1,8 @@
+Fri Nov 16 10:22:52 2012  NARUSE, Yui  <naruse@r...>
+
+	* 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@r...>
 
 	* lib/rake/version.rb:  workaround fix to build. see #7366
Index: test/rake/helper.rb
===================================================================
--- test/rake/helper.rb	(revision 37668)
+++ test/rake/helper.rb	(revision 37669)
@@ -31,7 +31,7 @@
   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']

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

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