summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 0193d816..b87f1aef 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,11 +1,19 @@
task default: %w[test]
task :test do
+ failed = false
Dir["./tests/*.rb"].each do |test_file|
begin
- ruby test_file
+ ruby test_file
+ puts ""
rescue
puts "FAILED #{test_file}!"
+ puts ""
+ failed = true
end
end
+
+ if failed
+ exit 0
+ end
end