diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModule.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModule.kt index 86e167bb175..9a9d7855bf7 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModule.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModule.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // WITH_COROUTINES // WITH_STDLIB // MODULE: lib(support) diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleOverride.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleOverride.kt index fb6cb71f26f..b52fbfb81d3 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleOverride.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleOverride.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // WITH_COROUTINES // WITH_STDLIB // MODULE: lib(support) diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithController.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithController.kt index 7cb32d70389..72e9b37eccd 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithController.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithController.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // WITH_COROUTINES // WITH_STDLIB // MODULE: lib(support) diff --git a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt index a5b01d7da29..2edd7036a8f 100644 --- a/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt +++ b/compiler/testData/codegen/box/coroutines/multiModule/inlineMultiModuleWithInnerInlining.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // WITH_COROUTINES // WITH_STDLIB // MODULE: lib(support) diff --git a/compiler/testData/codegen/box/multiplatform/multiModule/defaultArgument.kt b/compiler/testData/codegen/box/multiplatform/multiModule/defaultArgument.kt index 17e22b28d35..0c20f5bd859 100644 --- a/compiler/testData/codegen/box/multiplatform/multiModule/defaultArgument.kt +++ b/compiler/testData/codegen/box/multiplatform/multiModule/defaultArgument.kt @@ -3,6 +3,7 @@ // EXPECT_ACTUAL_LINKER // IGNORE_BACKEND: WASM // IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JVM // DONT_TARGET_EXACT_BACKEND: JVM_IR // KT-45542 diff --git a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt index 16dc586ab92..468df4b7efd 100644 --- a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt +++ b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualLink.kt @@ -2,6 +2,7 @@ // KJS_WITH_FULL_RUNTIME // EXPECT_ACTUAL_LINKER // IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JVM // DONT_TARGET_EXACT_BACKEND: JVM_IR // DONT_TARGET_EXACT_BACKEND: ANDROID diff --git a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt index cbc27779b52..02dec2165e8 100644 --- a/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt +++ b/compiler/testData/codegen/box/multiplatform/multiModule/expectActualMemberLink.kt @@ -2,6 +2,7 @@ // KJS_WITH_FULL_RUNTIME // EXPECT_ACTUAL_LINKER // IGNORE_BACKEND: JS +// IGNORE_BACKEND: JS_IR // DONT_TARGET_EXACT_BACKEND: JVM // DONT_TARGET_EXACT_BACKEND: JVM_IR // DONT_TARGET_EXACT_BACKEND: ANDROID diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt index 95c36613ab7..c8b358bdce4 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/classDeclaration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // MODULE: lib // FILE: 2.kt abstract class A { diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt index 11cc73014c7..a0282719ddf 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // MODULE: lib // FILE: 2.kt fun a() = "OK" diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt index 97611b09dcf..de1b138e51f 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/lateinitMemberPropertyDeclaration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // MODULE: lib // FILE: 2.kt abstract class A { diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt index b2729bb3047..bca8196b1ec 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionDeclaration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // MODULE: lib // FILE: 2.kt abstract class A { diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt index 4e3dc5af270..2e48b1ed836 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberFunctionWithDefaultArgumentsDeclaration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // MODULE: lib // FILE: 2.kt abstract class A { diff --git a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt index 5cfb6c964a1..71576851b07 100644 --- a/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt +++ b/compiler/testData/codegen/box/sameFileInSourceAndDependencies/memberPropertyDeclaration.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: NATIVE +// IGNORE_BACKEND: JS_IR // MODULE: lib // FILE: 2.kt abstract class A { diff --git a/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt b/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt index 253ad398278..27a5bac7eac 100644 --- a/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt +++ b/compiler/testData/codegen/boxError/semantic/reifiedWithWrongArguments.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // IGNORE_ERRORS // ERROR_POLICY: SEMANTIC diff --git a/js/js.translator/testData/box/initialize/uninitializedLateinit.kt b/js/js.translator/testData/box/initialize/uninitializedLateinit.kt index ddd8023fe0a..b98f18e81e8 100644 --- a/js/js.translator/testData/box/initialize/uninitializedLateinit.kt +++ b/js/js.translator/testData/box/initialize/uninitializedLateinit.kt @@ -1,4 +1,4 @@ - +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1336 // MODULE: lib // FILE: lib.kt diff --git a/js/js.translator/testData/box/jsModule/importCountUmd.kt b/js/js.translator/testData/box/jsModule/importCountUmd.kt index a535b36c594..ac6642ce5b3 100644 --- a/js/js.translator/testData/box/jsModule/importCountUmd.kt +++ b/js/js.translator/testData/box/jsModule/importCountUmd.kt @@ -1,8 +1,7 @@ // EXPECTED_REACHABLE_NODES: 1285 // MODULE_KIND: UMD // NO_JS_MODULE_SYSTEM -// FUNCTION_CALLED_TIMES: require count=3 TARGET_BACKENDS=JS -// FUNCTION_CALLED_TIMES: require count=2 IGNORED_BACKENDS=JS +// FUNCTION_CALLED_TIMES: require count=3 @JsModule("lib") @JsNonModule diff --git a/js/js.translator/testData/box/number/constantPropagation.kt b/js/js.translator/testData/box/number/constantPropagation.kt index 93b22f01982..e38dc5be5c2 100644 --- a/js/js.translator/testData/box/number/constantPropagation.kt +++ b/js/js.translator/testData/box/number/constantPropagation.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1454 // MODULE: lib1