Skip to content

Commit

Permalink
* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
knu committed Feb 18, 2009
1 parent 3229c32 commit fd2b650
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Feb 18 15:23:34 2009 Akinori MUSHA <knu@iDaemons.org>

* bootstraptest/runner.rb: Use RUBY_DESCRIPTION if defined.

Wed Feb 18 14:33:35 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>

* array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new
Expand Down
9 changes: 7 additions & 2 deletions bootstraptest/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,13 @@ def main

unless quiet
puts Time.now
patchlevel = defined?(RUBY_PATCHLEVEL) ? " patchlevel #{RUBY_PATCHLEVEL}" : ''
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}#{patchlevel}) [#{RUBY_PLATFORM}]"
if defined?(RUBY_DESCRIPTION)
puts "Driver is #{RUBY_DESCRIPTION}"
elsif defined?(RUBY_PATCHLEVEL)
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}#{RUBY_PLATFORM}) [#{RUBY_PLATFORM}]"
else
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
puts "Target is #{`#{@ruby} -v`.chomp}"
puts
$stdout.flush
Expand Down

0 comments on commit fd2b650

Please sign in to comment.