[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
interface T {
fun foo(): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface IFoo {
fun foo(): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
protected fun foo() = "OK"
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var result = ""
class A {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
inline fun on(body: () -> Any) = body().toString()
@@ -1,4 +1,5 @@
// !LANGUAGE: -ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
inline fun on(body: () -> Any) = body().toString()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
inline fun on(body: () -> Any) = body().toString()
class A {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun test() = ok()
@@ -1,4 +1,5 @@
// !LANGUAGE: -ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun test() = ok()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun test() = ok()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T> assertEquals(a: T, b: T) { if (a != b) throw AssertionError("$a != $b") }
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
inline fun <T> run(fn: () -> T) = fn()
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
private companion object {
@@ -1,4 +1,5 @@
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
// IGNORE_BACKEND_FIR: JVM_IR
class Outer {
protected companion object {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
import Host.x
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
import Host.x
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import Host.x
object A {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var log = ""
class A(p: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import Host.x
object Host {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var log = ""
class A(p: String) {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
public abstract class FList<T>() {
public abstract val head: T
public abstract val tail: FList<T>
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
var result = "OK"
class A {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM_IR
// Inside of the companion we have to access the instance through the local Companion field,
// not by indirection through the Companion field of the enclosing class.
@@ -1,4 +1,5 @@
// !LANGUAGE: +NestedClassesInAnnotations
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A(val value: String)
fun A.test(): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
public object SomeObject {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Color(val rgb : Int) {
RED(0xFF0000),
GREEN(0x00FF00),
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Foo<T> {
fun hello(id: T) = "O$id"
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import Foo.bar0 as bar
object Foo {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() : String {
var a = 1
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() : String {
var a = 1
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A() {
fun ok() = Foo.Bar.bar() + Foo.Bar.barv
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Clazz {
companion object {
val a = object {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
fun foo() = "OK"
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class X(private val n: String) {
fun foo(): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface N
open class Base(n: N)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
package while_bug_1
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test {
A,
B,
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
object O {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
companion object {
protected fun foo() = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A (val s: Int) {
open fun foo(): Int {
return s
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
val x: Any get() {
return object : Inner() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
var boo = "OK"
var foo = object {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class C(x: Int, val y: Int) {
fun initChild(x0: Int): Any {
var x = x0
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package p
private class C(val y: Int) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
public inline fun <T> T.with(f: T.() -> Unit): T {
this.f()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
open fun foo(): Int {
return 2
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
open fun foo(): Int {
return 2
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A(val result: String)
fun a(body: A.() -> String): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface T
object Foo {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(open val v: String)
fun A.a(newv: String) = object: A("fail") {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface IFn {
operator fun invoke(): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class Test {
companion object {
fun ok() = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Base(val fn: () -> String)
class Host {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Base(val fn: () -> String)
class Host {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface IFn {
operator fun invoke(): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JVM_IR
interface Test {
companion object {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Base(val fn: () -> String)
interface Host {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Base(val fn: () -> String)
interface Host {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface IFn {
operator fun invoke(): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
object Test {
fun ok() = "OK"
val x = run { Test.ok() }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Base(val fn: () -> String)
object Test : Base(run { { Test.ok() } }) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
abstract class Base(val fn: () -> String)
object Test : Base({ Test.ok() }) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
open class A(open val v: String) {
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KT-5869
operator fun <T> Iterator<T>.iterator(): Iterator<T> = this
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import C.f
import C.p
import C.ext
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
import Class.C.f
import Class.C.p
import Class.C.ext