Apache Lucene open-source search software
Fix rcov for unit tests
Erik Hatcher25d727100e18
diff --git a/client/ruby/solrb/Rakefile b/client/ruby/solrb/Rakefileindex 1e35254abc1..5fe8175c88d 100644--- a/client/ruby/solrb/Rakefile+++ b/client/ruby/solrb/Rakefile@@ -102,15 +102,13 @@ task :test doraise "test failures" if got_errorend-# TODO: fix this so it works, it is not happy with connection_test.rb for some reason-# borrowed from here: http://clarkware.com/cgi/blosxom/2007/01/05#RcovRakeTasknamespace :test dodesc 'Measures test coverage'+ # borrowed from here: http://clarkware.com/cgi/blosxom/2007/01/05#RcovRakeTasktask :coverage dorm_f "coverage"- rm_f "coverage.data"- system("rcov --text-summary -Ilib test/unit/*_test.rb")+ system("rcov --text-summary -Ilib:test/unit test/unit/*_test.rb")system("open coverage/index.html") if PLATFORM['darwin']end-end\ No newline at end of file+end