diff options
Diffstat (limited to 'test/runner.rb')
-rw-r--r-- | test/runner.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/runner.rb b/test/runner.rb index 61fb0960f8..0e6ee3bea4 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -31,6 +31,12 @@ module Test::Unit end end +if ENV['COVERAGE'] + $LOAD_PATH.unshift "#{src_testdir}/../coverage/simplecov/lib" + require 'simplecov' + SimpleCov.start +end + begin exit Test::Unit::AutoRunner.run(true, src_testdir) rescue NoMemoryError |