Skip to content

Commit 84917a3

Browse files
committed
Fix interactive mode in eclipse
1 parent ef29ed7 commit 84917a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/test/dotty/tools/vulpix/SummaryReport.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
import scala.Unit;
99

1010
import dotty.tools.dotc.reporting.TestReporter;
11+
import dotty.Properties;
1112

1213
/** Note that while `ParallelTesting` runs in parallel, JUnit tests cannot with
1314
* this class
1415
*/
1516
public class SummaryReport {
16-
public final static boolean isInteractive = !System.getenv().containsKey("DRONE");
17+
public final static boolean isInteractive =
18+
Properties.testsInteractive() && !Properties.runningDrone();
1719

1820
private static TestReporter rep = TestReporter.reporter(System.out, -1);
1921
private static ArrayDeque<String> failedTests = new ArrayDeque<>();

0 commit comments

Comments
 (0)