require 'simplecov'
SimpleCov.start { add_filter '/test/' }

require 'rbvmomi'
VIM = RbVmomi::VIM

require 'test/unit'

unless /^1.8/ =~ RUBY_VERSION
  require 'simplecov'
  SimpleCov.start { add_filter '/test/' }
end

require 'rbvmomi'
VIM = RbVmomi::VIM

require 'test/unit'

Remove code coverage for 1.8
Remove code coverage for 1.8

SimpleCov only works with Ruby 1.9+. It seems that it doesn't just move
on, but rather exits in failure. Removing code coverage for 1.8.
