Skip to content

Commit a53b515

Browse files
committed
Disable two meta tests on Windows
The appveyor has problem with the tests: - timeout: unknown error - stackoverflow: VM crashes due to memory quota Both tests succeed on local Windows machine.
1 parent bc8daa5 commit a53b515

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/test/dotty/tools/vulpix/VulpixUnitTests.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class VulpixUnitTests extends ParallelTesting {
6565
compileFile("tests/vulpix-tests/unit/runDiffOutput1.scala", defaultOptions).expectFailure.checkRuns()
6666

6767
@Test def runStackOverflow: Unit =
68+
if (!scala.util.isWin)
6869
compileFile("tests/vulpix-tests/unit/stackOverflow.scala", defaultOptions).expectFailure.checkRuns()
6970

7071
@Test def runOutRedirects: Unit =
@@ -90,7 +91,7 @@ class VulpixUnitTests extends ParallelTesting {
9091
case ae: AssertionError => assertTrue(ae.getMessage.contains("java compilation failed"))
9192
}
9293

93-
@Test def runTimeout: Unit = {
94+
@Test def runTimeout: Unit = if (!scala.util.isWin) {
9495
val fileName = s"tests/vulpix-tests/unit/timeout.scala"
9596
try {
9697
compileFile(fileName, defaultOptions).checkRuns()

0 commit comments

Comments
 (0)