diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-04-06 11:50:20 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-04-12 11:31:14 +0200 |
commit | 8fe0d14c1d2bdc26088fc4a29388b961ae1552a2 (patch) | |
tree | 4d3b1ea0c34b31f4c5fb64d439df6f6a8e2ad108 /compiler/test/dotty | |
parent | 07fab41be7d24e790cd37f625f3d7a10363c45ff (diff) | |
download | dotty-8fe0d14c1d2bdc26088fc4a29388b961ae1552a2.tar.gz dotty-8fe0d14c1d2bdc26088fc4a29388b961ae1552a2.tar.bz2 dotty-8fe0d14c1d2bdc26088fc4a29388b961ae1552a2.zip |
Fix interactive mode in eclipse
Diffstat (limited to 'compiler/test/dotty')
-rw-r--r-- | compiler/test/dotty/tools/vulpix/SummaryReport.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/vulpix/SummaryReport.java b/compiler/test/dotty/tools/vulpix/SummaryReport.java index 61a708f26..1a7fc2a61 100644 --- a/compiler/test/dotty/tools/vulpix/SummaryReport.java +++ b/compiler/test/dotty/tools/vulpix/SummaryReport.java @@ -8,12 +8,14 @@ import scala.Function0; import scala.Unit; import dotty.tools.dotc.reporting.TestReporter; +import dotty.Properties; /** Note that while `ParallelTesting` runs in parallel, JUnit tests cannot with * this class */ public class SummaryReport { - public final static boolean isInteractive = !System.getenv().containsKey("DRONE"); + public final static boolean isInteractive = + Properties.testsInteractive() && !Properties.isRunByDrone(); private static TestReporter rep = TestReporter.reporter(System.out, -1); private static ArrayDeque<String> failedTests = new ArrayDeque<>(); |