diff options
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/runner.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 23a3507bf7..aff5a54ee7 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -95,8 +95,13 @@ End 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 |