Tests: unmute light analysis tests passing with JVM_IR

This commit is contained in:
Alexander Udalov
2023-06-12 16:47:50 +02:00
parent cab53361f3
commit 1588b07472
61 changed files with 27 additions and 88 deletions
@@ -1,5 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// WITH_STDLIB
// WITH_COROUTINES
@@ -1,7 +1,6 @@
// WITH_STDLIB
// WITH_COROUTINES
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault
// SKIP_DCE_DRIVEN
@@ -25,4 +24,4 @@ fun box(): String {
}
}
return res
}
}
@@ -1,6 +1,5 @@
// WITH_STDLIB
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// FILE: 1.kt
@file:OptIn(ExperimentalTypeInference::class)
@@ -1,7 +1,6 @@
// WITH_STDLIB
// !JVM_DEFAULT_MODE: all-compatibility
// TARGET_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// IGNORE_BACKEND: JVM
// JVM_TARGET: 1.8
@@ -27,4 +26,4 @@ fun box(): String {
res = A().nextBuffer()
}
return res
}
}
@@ -1,6 +1,5 @@
// WITH_STDLIB
// WITH_COROUTINES
// IGNORE_LIGHT_ANALYSIS
// !INHERIT_MULTIFILE_PARTS
// TARGET_BACKEND: JVM
-1
View File
@@ -1,7 +1,6 @@
// WITH_STDLIB
// WITH_COROUTINES
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
import helpers.*
import kotlin.coroutines.*
@@ -3,7 +3,6 @@
// WITH_COROUTINES
// IGNORE_BACKEND: JVM, JS, JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_LIGHT_ANALYSIS
import helpers.*
import kotlin.coroutines.*
@@ -36,4 +35,4 @@ fun box(): String {
if (test != "OKEmptyOK42") return "failed: $test"
return "OK"
}
}
@@ -2,7 +2,6 @@
// WITH_STDLIB
// WITH_COROUTINES
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
import helpers.*
import kotlin.coroutines.*
@@ -22,4 +21,4 @@ fun box(): String {
test = runS(lambda)
}
return test
}
}
@@ -2,7 +2,6 @@
// WITH_STDLIB
// WITH_COROUTINES
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// IGNORE_INLINER: IR
// `lambda` should not be wrapped in yet another object (so no OnInlineArgumentKt$box$1$1).
@@ -20,4 +19,4 @@ fun box(): String {
val lambda: (String) -> String = { it + "K" }
suspend { test = runS(lambda) }.startCoroutine(EmptyContinuation)
return test
}
}
@@ -3,7 +3,6 @@
// WITH_COROUTINES
// IGNORE_BACKEND: JVM, JS, JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_LIGHT_ANALYSIS
import helpers.*
import kotlin.coroutines.*
@@ -45,4 +44,4 @@ fun box(): String {
}
return test
}
}