Test infra: refactor IGNORE_BACKEND directive

treat it as a general one, introduce *_K1 and *_K2 variants for
more specific ignoring
This commit is contained in:
Ilya Chernikov
2022-07-21 16:39:12 +02:00
parent 8f18ab19f7
commit 5b3816cce5
234 changed files with 432 additions and 426 deletions
@@ -3,7 +3,7 @@
// !LANGUAGE: +MultiPlatformProjects
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
// MODULE: lib
// FILE: common.kt
@@ -4,7 +4,7 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: validation failed. TODO decide if we want to fix KT-42020 for FIR as well
// MODULE: lib
// FILE: lib.kt
@@ -1,4 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: ARGUMENT_TYPE_MISMATCH at ok.z(fail), actual String, expected T
// MODULE: lib
// FILE: l1.kt