diff options
Diffstat (limited to 'compiler/test/dotty/tools/vulpix/SummaryReport.java')
-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<>(); |