From 744bdd9b0531792f469fd8285bce32efadd6fed4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 20 Oct 2013 05:54:59 +0000 Subject: tests: improve output to show RUBY_DESCRIPTION and full path This should make it easier to figure out which installation of Ruby the tester is using. --- test/helper.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/helper.rb') diff --git a/test/helper.rb b/test/helper.rb index 71b1ef2..92fd1bc 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -4,6 +4,10 @@ $stdout.sync = $stderr.sync = Thread.abort_on_exception = true $-w = true if RUBY_VERSION.to_f >= 2.0 require 'thread' +def rubyv + puts RUBY_DESCRIPTION +end + # Global Test Lock, to protect: # Process.wait*, Dir.chdir, ENV, trap, require, etc... GTL = Mutex.new -- cgit v1.2.3-24-ge0c7