summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-11-14 10:55:05 -0800
committerJames Turnbull <james@lovedthanlost.net>2009-11-15 10:04:07 +1100
commit74a877e43d2113c5f60b08d998972e0722e63194 (patch)
treed7c772e110409c0a202dfec6d9f998443650674a /Rakefile
parentcd10e6df8590ea0a9e81d9b09ba71bd1d5b1ae3d (diff)
downloadpuppet-74a877e43d2113c5f60b08d998972e0722e63194.tar.gz
puppet-74a877e43d2113c5f60b08d998972e0722e63194.tar.xz
puppet-74a877e43d2113c5f60b08d998972e0722e63194.zip
Minimal fix for #2821 ("rake spec" is needlessly slow)
At some point someone may want to get the coverage tests working, but the coordinates of that point is are not (now,me). This patch just comments out the rcov and stops the time consuming trailing stack trace generation. Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 67d5ef4da..9c7e61927 100644
--- a/Rakefile
+++ b/Rakefile
@@ -41,13 +41,14 @@ task :spec do
require 'spec'
require 'spec/rake/spectask'
begin
- require 'rcov'
+# require 'rcov'
rescue LoadError
end
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--format','s', '--loadby','mtime']
t.spec_files = FileList['spec/**/*.rb']
+ t.fail_on_error = false
if defined?(Rcov)
t.rcov = true
t.rcov_opts = ['--exclude', 'spec/*,test/*,results/*,/usr/lib/*,/usr/local/lib/*']