[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
enum class A() {
ENTRY(){ override fun t() = "OK"};
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class E {
ENTRY;
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FILE: Foo.java
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FILE: Foo.java
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// http://youtrack.jetbrains.com/issue/KT-2167
enum class Season {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Game {
ROCK,
PAPER,
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A {
X {
val x = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A {
X {
val k = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(val str: String = "OK") {
OK
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(vararg xs: Int) {
OK;
val values = xs
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(val str: String = "OK") {
OK {
fun foo() {}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(val x: Int, val str: String) {
OK;
constructor(x: Int = 0) : this(x, "OK")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(val x: Int, val str: String) {
OK;
constructor(vararg xs: Int) : this(xs.size + 42, "OK")
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
enum class My(val s: String) {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Empty
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
var result = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// MODULE: lib
// FILE: lib.kt
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface IFoo {
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
interface IFoo {
fun foo(): String
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
fun box() = MyEnum.E1.f() + MyEnum.E2.f()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// MODULE: lib
// FILE: common.kt
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Color(val rgb: Int) {
RED(0xff0000),
GREEN(0x00ff00),
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KT-4423 Enum with function not compiled
enum class Sign(val str: String, val func: (x: Int, y: Int) -> Int){
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
enum class Season {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun box() = if(Context.operatingSystemType == Context.Companion.OsType.OTHER) "OK" else "fail"
public class Context
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
enum class E {
OK
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A {
X {
val x = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A {
X {
val x = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A {
X {
val x = "OK"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A {
companion object {}
enum class E {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Direction() {
NORTH {
val someSpecialValue = "OK"
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Bar {
ONE,
TWO
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(val x: String, val closure1: () -> String) {
FOO("O", { FOO.x }) {
override val y: String = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Test(val x: String, val closure1: () -> String) {
FOO("O", run { { FOO.x } }) {
override val y: String = "K"
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Foo(
val x: String,
val callback: () -> String
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
interface Callback {
fun invoke(): String
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A(val b: String) {
E1("OK"){ override fun t() = b };
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
val value2 = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
val value2 = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
val value2 = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
val k = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
override val value2 = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
override val value2 = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
val value2 = "K"
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun <T, R> T.letNoInline(fn: (T) -> R) =
fn(this)
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class X {
B {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class IssueState {
FIXED {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class ClassTemplate(
// var bug: Int = 1,
var code: Int,
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
+1
View File
@@ -1,4 +1,5 @@
// !LANGUAGE: -NestedClassesInEnumEntryShouldBeInner
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: NATIVE
enum class E {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class State {
_0,
_1,
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Enum {
ENUM_VALUE {
override fun test() = ENUM_VALUE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Season {
WINTER,
SPRING,
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
package test
fun box() = E.E1.f() + E.E2.f()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class State {
O,
K
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class Color {
RED,
BLUE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class E {
OK, NOT_OK
}