From d264a0c9cd26c827f004c565e469686ab7d8d251 Mon Sep 17 00:00:00 2001 From: Pascal Weisenburger Date: Sun, 27 Feb 2022 18:20:46 +0100 Subject: [PATCH] temporarily disable community build test cases known not to work until the projects are updated --- .../src/scala/dotty/communitybuild/projects.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index dc8047a95935..50ba2fe706aa 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -279,7 +279,7 @@ object projects: // Some scalatest's tests are flaky (https://github.com/scalatest/scalatest/issues/2049) // so we disable them, this list is based on the one used in the Scala 2 community build // (https://github.com/scala/community-build/blob/2.13.x/proj/scalatest.conf). - """set scalatestTestDotty / Test / managedSources ~= (_.filterNot(_.getName == "GeneratorSpec.scala").filterNot(_.getName == "FrameworkSuite.scala").filterNot(_.getName == "WaitersSpec.scala").filterNot(_.getName == "TestSortingReporterSpec.scala").filterNot(_.getName == "JavaFuturesSpec.scala").filterNot(_.getName == "ParallelTestExecutionSpec.scala").filterNot(_.getName == "TimeLimitsSpec.scala").filterNot(_.getName == "DispatchReporterSpec.scala").filterNot(_.getName == "TestThreadsStartingCounterSpec.scala").filterNot(_.getName == "SuiteSortingReporterSpec.scala").filterNot(_.getName == "CommonGeneratorsSpec.scala").filterNot(_.getName == "PropCheckerAssertingSpec.scala").filterNot(_.getName == "ConductorMethodsSuite.scala").filterNot(_.getName == "EventuallySpec.scala"))""", + """set scalatestTestDotty / Test / managedSources ~= (_.filterNot(_.getName == "GeneratorSpec.scala").filterNot(_.getName == "FrameworkSuite.scala").filterNot(_.getName == "WaitersSpec.scala").filterNot(_.getName == "TestSortingReporterSpec.scala").filterNot(_.getName == "JavaFuturesSpec.scala").filterNot(_.getName == "ParallelTestExecutionSpec.scala").filterNot(_.getName == "TimeLimitsSpec.scala").filterNot(_.getName == "DispatchReporterSpec.scala").filterNot(_.getName == "TestThreadsStartingCounterSpec.scala").filterNot(_.getName == "SuiteSortingReporterSpec.scala").filterNot(_.getName == "CommonGeneratorsSpec.scala").filterNot(_.getName == "PropCheckerAssertingSpec.scala").filterNot(_.getName == "ConductorMethodsSuite.scala").filterNot(_.getName == "EventuallySpec.scala").filterNot(_.getName == "AssertionsSpec.scala").filterNot(_.getName == "DirectAssertionsSpec.scala"))""", """set scalacticTestDotty / Test / managedSources ~= (_.filterNot(_.getName == "NonEmptyArraySpec.scala"))""", """set genRegularTests4 / Test / managedSources ~= (_.filterNot(_.getName == "FrameworkSuite.scala").filterNot(_.getName == "GeneratorSpec.scala").filterNot(_.getName == "CommonGeneratorsSpec.scala").filterNot(_.getName == "ParallelTestExecutionSpec.scala").filterNot(_.getName == "DispatchReporterSpec.scala").filterNot(_.getName == "TestThreadsStartingCounterSpec.scala").filterNot(_.getName == "EventuallySpec.scala"))""", "scalacticTestDotty/test; scalatestTestDotty/test; scalacticDottyJS/compile; scalatestDottyJS/compile" @@ -413,7 +413,7 @@ object projects: lazy val zio = SbtCommunityProject( project = "zio", - sbtTestCommand = "testJVMDotty", + sbtTestCommand = """set Global / testOptions += Tests.Filter(name => !name.endsWith("ZIOSpec") && !name.endsWith("ZLayerSpec")); testJVMDotty""", sbtDocCommand = forceDoc("coreJVM"), scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Xcheck-macros"), dependencies =List(izumiReflect) @@ -645,7 +645,7 @@ object projects: lazy val izumiReflect = SbtCommunityProject( project = "izumi-reflect", - sbtTestCommand = "test", + sbtTestCommand = """set Global / testOptions += Tests.Filter(name => !name.endsWith("BasicDottyTest") && !name.endsWith("LightTypeTagTest")); test""", sbtPublishCommand = "publishLocal", dependencies = List(scalatest) )