summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/watchr.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/watchr.rb b/spec/watchr.rb
index 26919d1a1..c0f1d0257 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