Skip to content

Commit

Permalink
fix: disable tests in configureLinux(#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis authored Oct 20, 2023
1 parent a003be1 commit b81cef2
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ fun Project.configureKmpTargets() {
configureJvm()
}

if (hasLinux) {
configureLinux()
}

withIf(!COMMON_JVM_ONLY, kmpExt) {
// FIXME Configure JS
// FIXME Configure Apple
Expand Down Expand Up @@ -156,6 +160,17 @@ fun Project.configureJvm() {
}
}

fun Project.configureLinux() {
kotlin {
linuxX64 {
// FIXME enable tests once the target is fully implemented
tasks.named("linuxX64Test") {
enabled = false
}
}
}
}

fun KotlinMultiplatformExtension.configureSourceSetsConvention() {
sourceSets.all {
val srcDir = if (name.endsWith("Main")) "src" else "test"
Expand Down

0 comments on commit b81cef2

Please sign in to comment.