summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorAdam <adam@adambard.com>2016-11-09 22:10:35 -0800
committerAdam <adam@adambard.com>2016-11-09 22:10:35 -0800
commit03980b63c7f7fa5bfd6a74e23613bcf82392105a (patch)
treea6959bf7b6552331b68c893a9f0df628728abb6f /Rakefile
parent1d494a6346aa3422b086cbfa85fc62c917516a8b (diff)
Fix encoding test, then make tests actually fail.
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