Skip to content

Commit 4d76b10

Browse files
committed
Fix interactive mode in eclipse
1 parent 428135c commit 4d76b10

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
@@ -13,7 +13,9 @@
1313
* this class
1414
*/
1515
public class SummaryReport {
16-
public final static boolean isInteractive = !System.getenv().containsKey("DRONE");
16+
public final static boolean isInteractive =
17+
!System.getenv().containsKey("DRONE") &&
18+
!System.getProperty("java.class.path").contains("eclipse");
1719

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

0 commit comments

Comments
 (0)