Skip to content

Commit

Permalink
~removed launching of background test tasks for native with "new Memo…
Browse files Browse the repository at this point in the history
…ry Module"
  • Loading branch information
shanshin committed Apr 26, 2024
1 parent e790fdd commit 46bf3fc
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions buildSrc/src/main/kotlin/source-sets-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -185,25 +185,6 @@ kotlin {
allWarningsAsErrors = true
}
}

val targetsWithoutTestRunners = listOf("linuxArm64", "linuxArm32Hfp")
targets.withType(KotlinNativeTargetWithTests::class).configureEach {
// Configure additional binaries to run tests in the background
if (listOf("macos", "linux", "mingw").any { name.startsWith(it) && !targetsWithoutTestRunners.contains(name) }) {
binaries.test("background", listOf(DEBUG)) {
freeCompilerArgs += listOf("-trw")
val thisTest = this
testRuns.create("background") {
this as KotlinTaskTestRun<*, *>
setExecutionSourceFrom(thisTest)
executionTask.configure {
this as KotlinNativeTest
targetName = "$targetName worker with new MM"
}
}
}
}
}
}

rootProject.extensions.configure<NodeJsRootExtension>() {
Expand Down

0 comments on commit 46bf3fc

Please sign in to comment.