diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-10-20 05:54:59 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-20 05:56:49 +0000 |
commit | 744bdd9b0531792f469fd8285bce32efadd6fed4 (patch) | |
tree | 0bc4536eb8900760e28b55ab720b2522059f5638 /test/helper.rb | |
parent | bcb10abe53cfb1d6a8ef7daef59eb10ced397c8a (diff) | |
download | yahns-744bdd9b0531792f469fd8285bce32efadd6fed4.tar.gz |
This should make it easier to figure out which installation of Ruby the tester is using.
Diffstat (limited to 'test/helper.rb')
-rw-r--r-- | test/helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |