Specify JVM target backend for test with 'import java...'

This commit is contained in:
Mikhael Bogdanov
2018-12-20 13:19:53 +01:00
parent f36519d4f5
commit 3ef06c1e44
56 changed files with 62 additions and 144 deletions
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: JavaClass.java
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// FILE: JavaClass.java
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// KT-5123
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
// FULL_JDK
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
import java.io.*
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
import java.io.*
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
import java.io.*
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.io.*
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
import java.util.Arrays
import kotlin.reflect.KClass
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
import java.util.Arrays
import kotlin.reflect.KFunction0
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
import java.util.Arrays
import kotlin.reflect.KClass
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
import java.util.Arrays
import kotlin.reflect.KClass
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.io.Serializable
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.util.IdentityHashMap
import kotlin.reflect.KProperty
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
// FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.io.Serializable
@@ -1,7 +1,6 @@
// IGNORE_BACKEND: JS_IR
// FULL_JDK
// WITH_RUNTIME
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.util.concurrent.locks.ReentrantReadWriteLock
import kotlin.concurrent.read
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
// FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: Test.java
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
package while_bug_1
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: JVM_IR, JS_IR, JS, NATIVE
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// WITH_REFLECT
// FULL_JDK
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
// FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.util.Date
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_REFLECT
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// FILE: First.java
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.io.*
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.io.*
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
// FULL_JDK
package test
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// TARGET_BACKEND: JVM
import java.io.*
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// FILE: JavaAnn.java
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
package builders
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
package builders
+1 -1
View File
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
package test
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
package test
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
package test
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// FULL_JDK
// WITH_REFLECT
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_REFLECT
package test
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_REFLECT
package test
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: A.kt
@file:[JvmName("Test") JvmMultifileClass]
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE
// TARGET_BACKEND: JVM
// FILE: A.kt
package test