[Native][tests] Fix: Always configure JUnit platform for unit tests

This commit is contained in:
Dmitriy Dolovov
2022-11-07 11:49:15 +01:00
committed by Space Team
parent ec3da62672
commit 271341419a
+2 -4
View File
@@ -172,10 +172,8 @@ fun Project.nativeTest(
// Pass the current Gradle task name so test can use it in logging. // Pass the current Gradle task name so test can use it in logging.
environment("GRADLE_TASK_NAME", path) environment("GRADLE_TASK_NAME", path)
tag?.let { useJUnitPlatform {
useJUnitPlatform { tag?.let { includeTags(it) }
includeTags(it)
}
} }
doFirst { doFirst {