[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Luke Kanies luke at puppetlabs.com
Tue May 10 08:15:32 UTC 2011


The following commit has been merged in the experimental branch:
commit f37b2e106ed171042c94a1a0b8fd31a254a69588
Author: Luke Kanies <luke at puppetlabs.com>
Date:   Tue Apr 12 23:54:03 2011 -0700

    Making watchr resilient to syntax errors in tests
    
    Reviewed-by: Daniel Pittman <daniel at puppetlabs.com>
    Signed-off-by: Luke Kanies <luke at puppetlabs.com>

diff --git a/spec/watchr.rb b/spec/watchr.rb
index 26919d1..c0f1d02 100755
--- a/spec/watchr.rb
+++ b/spec/watchr.rb
@@ -85,7 +85,11 @@ def run_spec_files(files)
   else
     opts = File.readlines('spec/spec.opts').collect { |l| l.chomp }.join(" ")
   end
-  run_spec("rspec #{opts} --tty #{files.join(' ')}")
+  begin
+    run_spec("rspec #{opts} --tty #{files.join(' ')}")
+  rescue => detail
+    puts "Failed to load #{files}: #{detail}"
+  end
 end
 
 def run_all_tests

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list