https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

serebit

12/06/2018, 7:08 PM
Copy code
@Test
fun shouldMatchPath() {
    assertEquals(true, true)
}
This common test (in commonTest source set) fails on Kotlin multiplatform 1.3.11. It doesn't run in JVM, and it fails in the linux source set.
o

orangy

12/06/2018, 7:16 PM
Do you have a repro project? Works fine for me on JVM, JS & MacOS, though I have no linux handy.
s

serebit

12/06/2018, 7:17 PM
I'm currently attempting to figure out where the issue lies. If I can determine that it's not just an issue with my configuration, I'll push a repro project.
👍 1
I did some messing around with my configuration so that it more closely matches the sample multiplatform project (I had my target declarations after the source set declarations)
JVM tests still don't run. The test result HTML in the build dir is empty.
The Linux test does pass, though.
Okay, never mind. If I run with parallel, the JVM tests run. Seems like just declaring my targets after my source sets was enough to cause the issue.
3 Views