@@ -26,7 +26,7 @@ class VulpixUnitTests extends ParallelTesting {
26
26
// To fail with something else than an AssertionError
27
27
def fail (): Unit = throw new Exception (" didn't fail properly" )
28
28
29
- @ Test def missingFile : Unit =
29
+ @ Test def missingFile : Unit = if ( ! scala.util. Properties .isWin)
30
30
try {
31
31
compileFile(" tests/vulpix-tests/unit/i-dont-exist.scala" , defaultOptions).expectFailure.checkExpectedErrors()
32
32
fail()
@@ -64,9 +64,8 @@ class VulpixUnitTests extends ParallelTesting {
64
64
@ Test def runDiffOutput1 : Unit =
65
65
compileFile(" tests/vulpix-tests/unit/runDiffOutput1.scala" , defaultOptions).expectFailure.checkRuns()
66
66
67
- @ Test def runStackOverflow : Unit =
68
- if (! scala.util.Properties .isWin)
69
- compileFile(" tests/vulpix-tests/unit/stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
67
+ @ Test def runStackOverflow : Unit = if (! scala.util.Properties .isWin)
68
+ compileFile(" tests/vulpix-tests/unit/stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
70
69
71
70
@ Test def runOutRedirects : Unit =
72
71
compileFile(" tests/vulpix-tests/unit/i2147.scala" , defaultOptions).expectFailure.checkRuns()
@@ -83,7 +82,7 @@ class VulpixUnitTests extends ParallelTesting {
83
82
@ Test def deadlock : Unit =
84
83
compileFile(" tests/vulpix-tests/unit/deadlock.scala" , defaultOptions).expectFailure.checkRuns()
85
84
86
- @ Test def badJava : Unit =
85
+ @ Test def badJava : Unit = if ( ! scala.util. Properties .isWin)
87
86
try {
88
87
compileFile(" tests/vulpix-tests/unit/BadJava.java" , defaultOptions).suppressAllOutput.checkCompile()
89
88
fail()
0 commit comments