Permalink
Browse files

fixed rcov configuration so he ignores library files on Linux

Signed-off-by: Jake Scruggs <jake.scruggs@gmail.com>
  • Loading branch information...
1 parent a89c9a6 commit 4384319862a0395d089302c0994af47719daec9a @dcrec1 dcrec1 committed with jscruggs May 12, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/base/configuration.rb
  2. +2 −2 spec/base/configuration_spec.rb
@@ -146,7 +146,7 @@ def reset
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,spec"]}
+ "--exclude /gems/,/Library/,/usr/,spec"]}
end
# Perform a simple check to try and guess if we're running
@@ -170,7 +170,7 @@ def get_new_config_and_raise_runtime_error
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,spec"]}' do
+ "--exclude /gems/,/Library/,/usr/,spec"]}' do
@config.instance_variable_get(:@rcov).
should == { :test_files => ['test/**/*_test.rb',
'spec/**/*_spec.rb'],
@@ -180,7 +180,7 @@ def get_new_config_and_raise_runtime_error
"--no-color",
"--profile",
"--rails",
- "--exclude /gems/,/Library/,spec"]}
+ "--exclude /gems/,/Library/,/usr/,spec"]}
end
it 'should set @saikuro to { :output_directory => @scratch_directory + "/saikuro",

0 comments on commit 4384319

Please sign in to comment.