summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Davis <ryand-ruby@zenspider.com>2020-03-06 15:17:50 -0800
committerTim Smith <tsmith84@gmail.com>2020-03-16 11:55:53 -0700
commit399c78c5391ded6ab0d18ba40ce16ab684bd8805 (patch)
tree4ff073b663a923cf3752b8a75064ff21ed406ff8
parente49103426ac146fe1d0c40efe9886d40faef6c3b (diff)
downloadchef-399c78c5391ded6ab0d18ba40ce16ab684bd8805.tar.gz
Turn off a lot of noise in test runs.
+ I don't know how ---color was ever parsed to begin with. + -fd results in >23k lines of output that nobody reads. + This output obscures ~800 lines of output that everyone should read and silence. + Turned off verbose in rspec rake task. It's huge and doesn't help anything. Signed-off-by: Ryan Davis <zenspider@chef.io>
-rw-r--r--.rspec2
-rw-r--r--tasks/rspec.rb1
2 files changed, 1 insertions, 2 deletions
diff --git a/.rspec b/.rspec
deleted file mode 100644
index eb3ef03653..0000000000
--- a/.rspec
+++ /dev/null
@@ -1,2 +0,0 @@
---color
--fd
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index 3906228416..1971789836 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -82,6 +82,7 @@ begin
%i{unit functional integration stress}.each do |sub|
desc "Run the specs under spec/#{sub}"
RSpec::Core::RakeTask.new(sub) do |t|
+ t.verbose = false
t.rspec_opts = %w{--profile}
t.pattern = FileList["spec/#{sub}/**/*_spec.rb"]
end