From ef71ecff8a85b5dc2c8bdb7c12ccfec0e3af172f Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 18 Dec 2023 14:45:51 +0100 Subject: [PATCH] project-manager/test uses TestLogProvider --- build.sbt | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/build.sbt b/build.sbt index 6e6e7905d652..15d11a86db6f 100644 --- a/build.sbt +++ b/build.sbt @@ -975,18 +975,7 @@ lazy val `project-manager` = (project in file("lib/scala/project-manager")) requiredMods ++ Seq(runtimeMod) }, - Test / javaOptions ++= { - // We can't use org.enso.logger.TestLogProvider (or anything from our own logging framework here) because it is not - // in a module, and it cannot be simple wrapped inside a module. - // So we use plain ch.qos.logback with its configuration. - val testLogbackConf = (LocalProject( - "logging-service-logback" - ) / Test / sourceDirectory).value / "resources" / "logback-test.xml" - Seq( - "-Dslf4j.provider=ch.qos.logback.classic.spi.LogbackServiceProvider", - s"-Dlogback.configurationFile=${testLogbackConf.getAbsolutePath}" - ) - } + Test / javaOptions ++= testLogProviderOptions ) .settings( rebuildNativeImage := NativeImage