buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r936598 - /buildr/trunk/rakelib/rspec.rake
Date Thu, 22 Apr 2010 02:41:06 GMT
Author: djspiewak
Date: Thu Apr 22 02:41:06 2010
New Revision: 936598

URL: http://svn.apache.org/viewvc?rev=936598&view=rev
Log:
Disabled FSC for the spec suite (to avoid unrepeatability)

Modified:
    buildr/trunk/rakelib/rspec.rake

Modified: buildr/trunk/rakelib/rspec.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/rspec.rake?rev=936598&r1=936597&r2=936598&view=diff
==============================================================================
--- buildr/trunk/rakelib/rspec.rake (original)
+++ buildr/trunk/rakelib/rspec.rake Thu Apr 22 02:41:06 2010
@@ -20,6 +20,7 @@ begin
 
   desc "Run all specs"
   Spec::Rake::SpecTask.new :spec=>['_reports', :compile] do |task|
+    ENV['USE_FSC'] = 'no'
     task.spec_files = FileList['spec/**/*_spec.rb']
     task.spec_files.exclude('spec/groovy/*') if RUBY_PLATFORM[/java/]
     task.spec_opts = %w{--format specdoc --format failing_examples:failed --format html:_reports/specs.html
--backtrace}
@@ -29,6 +30,7 @@ begin
 
   desc 'Run all failed examples from previous run'
   Spec::Rake::SpecTask.new :failed do |task|
+    ENV['USE_FSC'] = 'no'
     task.spec_files = FileList['spec/**/*_spec.rb']
     task.spec_opts = %w{--format specdoc --format failing_examples:failed --example failed
--backtrace}
     task.spec_opts << '--colour' if $stdout.isatty
@@ -36,6 +38,7 @@ begin
 
   desc 'Run RSpec and generate Spec and coverage reports (slow)'
   Spec::Rake::SpecTask.new :coverage=>['_reports', :compile] do |task|
+    ENV['USE_FSC'] = 'no'
     task.spec_files = FileList['spec/**/*_spec.rb']
     task.spec_opts = %W{--format progress --format failing_examples:failed --format html:_reports/specs.html
--backtrace}
     task.spec_opts << '--colour' if $stdout.isatty



Mime
View raw message