From 8fe0d14c1d2bdc26088fc4a29388b961ae1552a2 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Thu, 6 Apr 2017 11:50:20 +0200 Subject: Fix interactive mode in eclipse --- compiler/test/dotty/tools/vulpix/SummaryReport.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 failedTests = new ArrayDeque<>(); -- cgit v1.2.3