Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3c87129
)
Add rcov_spec task
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:12:15 +0000
(
01:12
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:12:15 +0000
(
01:12
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668975
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/Rakefile
patch
|
blob
|
history
diff --git
a/lib/rb/Rakefile
b/lib/rb/Rakefile
index
a41b89b
..
bd68414
100644
(file)
--- a/
lib/rb/Rakefile
+++ b/
lib/rb/Rakefile
@@
-9,6
+9,13
@@
Spec::Rake::SpecTask.new("spec") do |t|
t.spec_opts = ['--color']
end
+Spec::Rake::SpecTask.new("rcov_spec") do |t|
+ t.spec_files = FileList['spec/**/*_spec.rb']
+ t.spec_opts = ['--color']
+ t.rcov = true
+ t.rcov_opts = ['--exclude', '^spec,/gems/']
+end
+
task :test do
fork do
exec 'make', '-C', File.dirname(__FILE__) + "/../../test/rb"