Mute failed jvm ir tests

This commit is contained in:
Mikhael Bogdanov
2018-06-28 11:45:21 +02:00
parent a10c06eb4d
commit e149cbe852
1890 changed files with 1890 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
interface A<T> {
fun foo(t: T): String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
interface A<T: Number> {
fun foo(t: T): String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
interface A<T, U> {
fun foo(t: T, u: U): String
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class Outer() {
open inner class InnerBase() {
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
open class A() {
open inner class InnerA
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: CompanionInitialization.java
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// Won't ever work with JS backend.
// TODO: Consider rewriting this test without using threads, since the issue is not about threads at all.
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
public object SomeClass {
private val work = object : Runnable {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun f(a : Int?, b : Int.(Int)->Int) = a?.b(1)
fun box(): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class MyClass(var fnc : () -> String) {
fun test(): String {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun box() : String {
var i = 0
{
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun box(): String {
return Foo().doBar("OK")
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class T(val f : () -> Any?) {
fun call() : Any? = f()
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class Foo(
var state : Int,
val f : (Int) -> Int){
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class Bar {
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class A {
public val f : ()->String = {"OK"}
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
public inline fun Int.times(body : () -> Unit) {
var count = this;
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
interface A {
fun foo(): Int
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
package foo
interface B {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun box() : String {
val o = object {
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
interface A {
fun foo(): Int
}
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun launch(f : () -> Unit) {
f()
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun test1() : Boolean {
try {
return true
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun test1(str: String): String {
data class A(val x: Int) {
fun foo() = str
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS, NATIVE
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun testFun1(str: String): String {
val capture = str
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
class C {
private fun String.ext() : String = ""
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
class C{
private var v : Int = 0
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
class Outer() {
val s = "xyzzy"
+1
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
class B () {}
open class A(val b : B) {