mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rake/*: Updated to rake 0.9.5
* test/rake/*: ditto. * NEWS: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
40bae2f67c
commit
d1d4490a57
18 changed files with 181 additions and 41 deletions
|
@ -4,9 +4,9 @@ require 'open3'
|
|||
class TestRakeBacktrace < Rake::TestCase
|
||||
# TODO: factor out similar code in test_rake_functional.rb
|
||||
def rake(*args)
|
||||
lib = File.expand_path('../../../lib', __FILE__)
|
||||
bin_rake = File.expand_path('../../../bin/rake', __FILE__)
|
||||
Open3.popen3(RUBY, "-I", lib, bin_rake, *args) { |_, _, err, _| err.read }
|
||||
Open3.popen3(RUBY, "-I", @rake_lib, @rake_exec, *args) { |_, _, err, _|
|
||||
err.read
|
||||
}
|
||||
end
|
||||
|
||||
def invoke(task_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue