Skip to content

Commit dad3e2c

Browse files
ivandev0Space Team
authored and
Space Team
committed
[Test] Drop DONT_TARGET_EXACT_BACKEND directive from some tests
This directive supposes that the given test should never be run on the given backend, but here we actually just want to ignore it. Most of the tests are fixed by previous commit and only one still fails. #KT-69941 #KT-69797
1 parent aef97b6 commit dad3e2c

8 files changed

+75
-24
lines changed

compiler/testData/klib/syntheticAccessors/privateMember/crossFilePrivateLeak/leakingPrivateVarThroughReferenceInInternalInlineFun.kt

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// DONT_TARGET_EXACT_BACKEND: JS_IR
2-
// ^^^ Muted because accessor for function/constructor/property references are not generated for JS and first stage. To be fixed in KT-69797.
3-
// Can be replaced with ignore after KT-69941
4-
51
// FILE: A.kt
62
class A {
73
private var privateVar = 22

compiler/testData/klib/syntheticAccessors/privateMember/crossFilePrivateLeak/leakingPrivateVarThroughReferenceInPublicInlineFun.kt

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// DONT_TARGET_EXACT_BACKEND: JS_IR
2-
// ^^^ Muted because accessor for function/constructor/property references are not generated for JS and first stage. To be fixed in KT-69797.
3-
// Can be replaced with ignore after KT-69941
4-
51
// FILE: A.kt
62
class A {
73
private var privateVar = 22

compiler/testData/klib/syntheticAccessors/privateMember/crossModulePrivateLeak/leakingPrivateVarThroughReferenceInInternalInlineFun.kt

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// DONT_TARGET_EXACT_BACKEND: JS_IR
2-
// ^^^ Muted because accessor for function/constructor/property references are not generated for JS and first stage. To be fixed in KT-69797.
3-
// Can be replaced with ignore after KT-69941
4-
1+
// KT-76093: Support partial linkage for names of property references
2+
// IGNORE_BACKEND: JS_IR
3+
// IGNORE_KLIB_SYNTHETIC_ACCESSORS_CHECKS: JS_IR
54
// KT-72862: Undefined symbols
65
// IGNORE_NATIVE: cacheMode=STATIC_EVERYWHERE
76
// KT-72862: No function found for symbol

compiler/testData/klib/syntheticAccessors/privateMember/singleFile/leakingPrivateMethodThroughReference.kt

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// DONT_TARGET_EXACT_BACKEND: JS_IR
2-
// ^^^ Muted because accessor for function/constructor/property references are not generated for JS and first stage. To be fixed in KT-69797.
3-
// Can be replaced with ignore after KT-69941
4-
51
class A {
62
private fun privateMethod() = "OK"
73

compiler/testData/klib/syntheticAccessors/privateMember/singleFile/usePrivateVarFromReferenceInInternalInlineFun.kt

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// DONT_TARGET_EXACT_BACKEND: JS_IR
2-
// ^^^ Muted because accessor for function/constructor/property references are not generated for JS and first stage. To be fixed in KT-69797.
3-
// Can be replaced with ignore after KT-69941
4-
51
class A {
62
private var privateVar = 22
73

compiler/testData/klib/syntheticAccessors/privateMember/singleFile/usePrivateVarFromReferenceInPublicInlineFun.kt

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// DONT_TARGET_EXACT_BACKEND: JS_IR
2-
// ^^^ Muted because accessor for function/constructor/property references are not generated for JS and first stage. To be fixed in KT-69797.
3-
// Can be replaced with ignore after KT-69941
4-
51
class A {
62
private var privateVar = 22
73

js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsKlibSyntheticAccessorTestGenerated.java

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsKlibSyntheticAccessorsBoxTestGenerated.java

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)