Permalink
Browse files

Fail rake test task if test script fails

  • Loading branch information...
1 parent 9bc60c3 commit d2ef57fe2bf7d7785fa833d5c510a898c7d995b5 @MicahChalmer MicahChalmer committed Mar 31, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -20,8 +20,8 @@ Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end
-task :test do
- system "cd test && ./run_tests.sh"
+task :test do
+ system "cd test && ./run_tests.sh" or fail
end
desc 'Default: run tests'

0 comments on commit d2ef57f

Please sign in to comment.