summaryrefslogtreecommitdiff
path: root/test/testunit/test_parallel.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/testunit/test_parallel.rb')
-rw-r--r--test/testunit/test_parallel.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb
index bce1d869c5..5f7655bc72 100644
--- a/test/testunit/test_parallel.rb
+++ b/test/testunit/test_parallel.rb
@@ -177,5 +177,11 @@ module TestParallel
assert_match(/\d+=ptest_(first|second|third|forth) */,buf)
end
+ def test_separate
+ # this test depends to --jobs-status
+ spawn_runner "--jobs-status", "--separate"
+ buf = timeout(10){@test_out.read}
+ assert(buf.scan(/(\d+?)[:=]/).flatten.uniq.size > 1)
+ end
end
end