1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2009-02-18 06:27:47 +00:00
parent 3229c32008
commit fd2b650d06
2 changed files with 11 additions and 2 deletions

View file

@ -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> Wed Feb 18 14:33:35 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new * array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new

View file

@ -95,8 +95,13 @@ End
unless quiet unless quiet
puts Time.now puts Time.now
patchlevel = defined?(RUBY_PATCHLEVEL) ? " patchlevel #{RUBY_PATCHLEVEL}" : '' if defined?(RUBY_DESCRIPTION)
puts "Driver is ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}#{patchlevel}) [#{RUBY_PLATFORM}]" 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 "Target is #{`#{@ruby} -v`.chomp}"
puts puts
$stdout.flush $stdout.flush