[FIR] Disable failing blackbox codegen tests for FIR.

This commit is contained in:
Mark Punzalan
2019-11-18 14:35:02 -08:00
committed by Mikhail Glukhikh
parent fc9ccafb84
commit 9df2f69f09
4019 changed files with 4042 additions and 22 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
return (object { val r = "OK" } ?: null)!!.r
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo(x: String): String {
fun bar(y: String) = x + y
return bar("K")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <X : Any> foo(x: X): String {
fun <Y : Any> bar(y: Y) =
x.toString() + y.toString()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo(x: String): String {
fun bar(y: String): String {
fun qux(z: String): String =
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun String.foo(): String {
fun bar(y: String) = this + y
return bar("K")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
val x = "O"
inner class Inner {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Outer(val x: String) {
inner class Inner(val y: String) {
val z = x + y
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var result = ""
fun add(s: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun testBoolean(v: Boolean): Boolean {
var value = false
fun setValue(v: Boolean) {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//WITH_RUNTIME
import kotlin.test.assertEquals
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//WITH_RUNTIME
import kotlin.test.assertEquals
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//WITH_RUNTIME
import kotlin.test.assertEquals
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
//WITH_RUNTIME
import kotlin.test.assertEquals
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> tableView(init: Table<T>.() -> Unit) {
Table<T>().init()
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperIeee754Comparisons
// IGNORE_BACKEND_FIR: JVM_IR
fun ltDD(x: Comparable<Double>, y: Double) =
x is Double && x < y
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperIeee754Comparisons
// IGNORE_BACKEND_FIR: JVM_IR
fun eqeq(x: Any, y: Any) =
x is Double && y is Double && x == y
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperIeee754Comparisons
// IGNORE_BACKEND_FIR: JVM_IR
fun eqeq(x: Any, y: Any) =
x is Float && y is Float && x == y
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperIeee754Comparisons
// IGNORE_BACKEND_FIR: JVM_IR
fun ltDI(x: Any, y: Any) =
x is Double && y is Int && x < y