Rakefile in ohm-0.0.35 vs Rakefile in ohm-0.0.36
- old
+ new
@@ -22,8 +22,16 @@
system "kill #{File.read(REDIS_PID)}"
system "rm #{REDIS_PID}"
end
end
-Rake::TestTask.new(:test) do |t|
- t.pattern = 'test/**/*_test.rb'
+task :test do
+ Dir["test/**/*_test.rb"].each do |file|
+ fork do
+ load file
+ end
+
+ Process.wait
+
+ exit $?.exitstatus unless $?.success?
+ end
end