Skip to content

Commit

Permalink
Merge pull request #10688 from scalacenter/tasty/temp-patch-windows
Browse files Browse the repository at this point in the history
Disable tasty pipelining tests on windows
  • Loading branch information
SethTisue committed Feb 13, 2024
2 parents 17c0c74 + baadd95 commit 515883b
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions test/tasty/test/scala/tools/tastytest/TastyTestJUnit.scala
Expand Up @@ -9,6 +9,7 @@ import scala.util.{Try, Failure, Properties}
import TastyTestJUnit._

class TastyTestJUnit {
val isWindows = Properties.isWin

@test def run(): Unit = TastyTest.runSuite(
src = "run",
Expand All @@ -19,14 +20,17 @@ class TastyTestJUnit {
additionalDottySettings = Nil
).eval

@test def runPipelined(): Unit = TastyTest.runPipelinedSuite(
src = "run-pipelined",
srcRoot = assertPropIsSet(propSrc),
pkgName = assertPropIsSet(propPkgName),
outDirs = None,
additionalSettings = Nil,
additionalDottySettings = Nil
).eval
@test def runPipelined(): Unit = {
assumeFalse("Disabled on Windows due to bug in jar format", isWindows)
TastyTest.runPipelinedSuite(
src = "run-pipelined",
srcRoot = assertPropIsSet(propSrc),
pkgName = assertPropIsSet(propPkgName),
outDirs = None,
additionalSettings = Nil,
additionalDottySettings = Nil
).eval
}

@test def pos(): Unit = TastyTest.posSuite(
src = "pos",
Expand Down Expand Up @@ -56,14 +60,17 @@ class TastyTestJUnit {
additionalDottySettings = Nil
).eval

@test def negPipelined(): Unit = TastyTest.negPipelinedSuite(
src = "neg-pipelined",
srcRoot = assertPropIsSet(propSrc),
pkgName = assertPropIsSet(propPkgName),
outDirs = None,
additionalSettings = Nil,
additionalDottySettings = Nil
).eval
@test def negPipelined(): Unit = {
assumeFalse("Disabled on Windows due to bug in jar format", isWindows)
TastyTest.negPipelinedSuite(
src = "neg-pipelined",
srcRoot = assertPropIsSet(propSrc),
pkgName = assertPropIsSet(propPkgName),
outDirs = None,
additionalSettings = Nil,
additionalDottySettings = Nil
).eval
}

@test def negMoveMacros(): Unit = TastyTest.negChangePreSuite(
src = "neg-move-macros",
Expand Down

0 comments on commit 515883b

Please sign in to comment.