Created
December 28, 2011 08:46
-
-
Save nagachika/1527143 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/test/unit.rb b/lib/test/unit.rb | |
index eb0666a..00313a3 100644 | |
--- a/lib/test/unit.rb | |
+++ b/lib/test/unit.rb | |
@@ -457,7 +457,9 @@ module Test | |
bang = $1 | |
worker.status = :ready | |
if @tasks.empty? | |
- break unless @workers.find{|x| x.status == :running } | |
+ unless @workers.find{|x| [:running, :prepare].include? x.status} | |
+ break | |
+ end | |
else | |
if @options[:separate] && bang.empty? | |
@workers_hash.delete worker.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment