diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-03-31 11:50:07 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-03-31 16:45:12 +0200 |
commit | ed10ef0208f794060b5351cc601a915177e0a1c5 (patch) | |
tree | ff68342c68381cbb693995f3043d03a7d7546229 /compiler/test/dotty/tools/dotc/ParallelSummaryReport.java | |
parent | 57a11776480ab5259281dd29777c45af9ea3ca78 (diff) | |
download | dotty-ed10ef0208f794060b5351cc601a915177e0a1c5.tar.gz dotty-ed10ef0208f794060b5351cc601a915177e0a1c5.tar.bz2 dotty-ed10ef0208f794060b5351cc601a915177e0a1c5.zip |
Fix deadlock in `runAll`
Diffstat (limited to 'compiler/test/dotty/tools/dotc/ParallelSummaryReport.java')
-rw-r--r-- | compiler/test/dotty/tools/dotc/ParallelSummaryReport.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/test/dotty/tools/dotc/ParallelSummaryReport.java b/compiler/test/dotty/tools/dotc/ParallelSummaryReport.java index d32cda974..5608b3656 100644 --- a/compiler/test/dotty/tools/dotc/ParallelSummaryReport.java +++ b/compiler/test/dotty/tools/dotc/ParallelSummaryReport.java @@ -13,7 +13,7 @@ import dotty.tools.dotc.reporting.TestReporter$; public class ParallelSummaryReport { public final static boolean isInteractive = !System.getenv().containsKey("DRONE"); - private static TestReporter rep = TestReporter.reporter(-1); + private static TestReporter rep = TestReporter.reporter(System.out, -1); private static ArrayDeque<String> failedTests = new ArrayDeque<>(); private static ArrayDeque<String> reproduceInstructions = new ArrayDeque<>(); private static int passed; @@ -36,7 +36,7 @@ public class ParallelSummaryReport { } @BeforeClass public final static void setup() { - rep = TestReporter.reporter(-1); + rep = TestReporter.reporter(System.out, -1); failedTests = new ArrayDeque<>(); reproduceInstructions = new ArrayDeque<>(); } |