Added code to call Runner's done() method in both InProcess and SubProcess cases.

This commit is contained in:
cheeseng
2013-04-23 12:00:03 +08:00
parent 244e65cd79
commit f38a244d0f
7 changed files with 92 additions and 2 deletions
@@ -212,6 +212,7 @@ public class ForkMain {
final Runner runner = framework.runner(frameworkArgs, remoteFrameworkArgs, getClass().getClassLoader());
for (ForkTestDefinition test : filteredTests)
runTestSafe(test, runner, loggers, os);
runner.done();
}
write(os, ForkTags.Done);
is.readObject();