(Un)mute tests

This commit is contained in:
Steven Schäfer
2019-07-25 10:06:30 +02:00
committed by max-kammerer
parent 06274b1339
commit efb938a7c8
20 changed files with 4 additions and 19 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
public fun <T> Iterable<T>.myforEach(operation: (T) -> Unit) : Unit {
for (element in this) operation(element)
}
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun <R> run(block: () -> R) = block()
inline fun <R> inlineRun(block: () -> R) = block()
@@ -1,6 +1,5 @@
//WITH_RUNTIME
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
class Environment(
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: 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,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun box() : String {
var a = 1
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS_IR, JS, NATIVE, JVM_IR
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// WITH_REFLECT
import kotlin.test.assertEquals
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS_IR, JS, NATIVE, JVM_IR
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// WITH_REFLECT
import kotlin.test.assertEquals
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
package test
@@ -1,5 +1,5 @@
// FILE: 1.kt
// IGNORE_BACKEND: JVM_IR
package test
inline fun myrun(s: () -> Unit) {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun test() {
1.(fun Int.() = 2)()
}
@@ -12,4 +12,5 @@ fun foo(f: () -> Unit) {
f()
}
// IGNORE_BACKEND: JVM_IR
// 2 6 9 12 13 3 4 7 8
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class Foo {
inline fun foo() = { }
}