Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are two reasons for this: - Coverage is inaccurate unless running in debug mode - Simplecov breaks on JRuby 1.7 in 1.8 mode
- Loading branch information
Showing
5 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# @note this file is loaded in env.rb to setup simplecov using RUBYOPTs for child processes and @in-process | ||
require 'simplecov' | ||
# @note this file is loaded in env.rb to setup simplecov using RUBYOPTs for | ||
# child processes and @in-process | ||
unless RUBY_PLATFORM.include?('java') | ||
require 'simplecov' | ||
|
||
root = File.expand_path('../../../', __FILE__) | ||
root = File.expand_path('../../../', __FILE__) | ||
|
||
SimpleCov.command_name(ENV['SIMPLECOV_COMMAND_NAME']) | ||
SimpleCov.root(root) | ||
load File.join(root, '.simplecov') | ||
SimpleCov.command_name(ENV['SIMPLECOV_COMMAND_NAME']) | ||
SimpleCov.root(root) | ||
load File.join(root, '.simplecov') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters