Skip to content

Commit

Permalink
Move native linking v0.4/5 tests from bridge to frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
KristianAN committed Dec 19, 2024
1 parent 7985bda commit e6722cf
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 212 deletions.

This file was deleted.

This file was deleted.

13 changes: 1 addition & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ lazy val frontend: Project = project
(sbtBloop / Keys.publishLocal).value
(jsBridge1 / Keys.publishLocal).value
(nativeBridge05 / Keys.publishLocal).value
(nativeBridge04 / Keys.publishLocal).value
val additionalResources =
BuildDefaults.exportProjectsInTestResources(dir, log.log, enableCache = true, version.value)
main ++ additionalResources
Expand Down Expand Up @@ -422,18 +423,6 @@ lazy val nativeBridge05 = project
(Test / fork) := true
)

lazy val nativeBridge05Test = project
.dependsOn(bloopShared % Provided)
.dependsOn(nativeBridge05 % Provided, frontend % "test->test")
.in(file("bridges") / "scala-native-0.5-test")
.disablePlugins(ScalafixPlugin, ScriptedPlugin)
.settings(
name := s"$nativeBridge05Name-test",
testSettings,
(Test / javaOptions) ++= jvmOptions,
(Test / fork) := true
)

val allProjects = Seq(
backend,
benchmarks,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ final class ScalaNativeToolchain private (classLoader: ClassLoader) {
} else {
Task {
nativeLinkMeth
.invoke(null, config, project, fullClasspath, fullEntry, target.underlying, logger)
.invoke(null, config, workdir, fullClasspath, fullEntry, target.underlying, logger)
.asInstanceOf[Unit]
}.materialize
}
Expand Down
Loading

0 comments on commit e6722cf

Please sign in to comment.