Skip to content

Commit c5de70c

Browse files
sbogolepovSpace Team
authored and
Space Team
committed
KT-67454: mute all K/N driver tests on macOS
1 parent 1acbf07 commit c5de70c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

native/native.tests/driver/tests/org/jetbrains/kotlin/konan/test/KonanDriverTest.kt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import org.jetbrains.kotlin.konan.test.blackbox.targets
2424
import org.jetbrains.kotlin.native.executors.RunProcessResult
2525
import org.jetbrains.kotlin.native.executors.runProcess
2626
import org.junit.jupiter.api.Assumptions
27+
import org.junit.jupiter.api.BeforeEach
2728
import org.junit.jupiter.api.Tag
2829
import org.junit.jupiter.api.Test
2930
import org.junit.jupiter.api.extension.ExtendWith
@@ -51,9 +52,13 @@ class KonanDriverTest : AbstractNativeSimpleTest() {
5152
Assumptions.assumeFalse(targets.hostTarget.family.isAppleFamily)
5253
}
5354

55+
@BeforeEach
56+
fun checkAssumptions() {
57+
`check for KT-67454`()
58+
}
59+
5460
@Test
5561
fun testLLVMVariantDev() {
56-
`check for KT-67454`()
5762
// On macOS for apple targets, clang++ from Xcode is used, which is not switchable as `dev/user`,
5863
// so the test cannot detect LLVM variant for apple targets on macOS host.
5964
Assumptions.assumeFalse(targets.hostTarget.family.isAppleFamily && targets.testTarget.family.isAppleFamily)
@@ -122,7 +127,6 @@ class KonanDriverTest : AbstractNativeSimpleTest() {
122127

123128
@Test
124129
fun testDriverVersion() {
125-
`check for KT-67454`()
126130
Assumptions.assumeFalse(HostManager.hostIsMingw &&
127131
testRunSettings.get<CacheMode>() == CacheMode.WithoutCache &&
128132
testRunSettings.get<OptimizationMode>() == OptimizationMode.DEBUG
@@ -149,7 +153,6 @@ class KonanDriverTest : AbstractNativeSimpleTest() {
149153

150154
@Test
151155
fun testOverrideKonanProperties() {
152-
`check for KT-67454`()
153156
Assumptions.assumeFalse(HostManager.hostIsMingw &&
154157
testRunSettings.get<CacheMode>() == CacheMode.WithoutCache &&
155158
testRunSettings.get<OptimizationMode>() == OptimizationMode.DEBUG

0 commit comments

Comments
 (0)