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: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FILE: JavaClass.java // FILE: JavaClass.java
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// FILE: JavaClass.java // FILE: JavaClass.java
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// KT-5123 // KT-5123
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
// FULL_JDK // FULL_JDK
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
import java.io.* import java.io.*
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
import java.io.* import java.io.*
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
import java.io.* import java.io.*
@@ -1,5 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// IGNORE_BACKEND: JS, NATIVE
import java.io.* import java.io.*
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT // WITH_REFLECT
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
import java.util.Arrays import java.util.Arrays
import kotlin.reflect.KClass import kotlin.reflect.KClass
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT // WITH_REFLECT
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
import java.util.Arrays import java.util.Arrays
import kotlin.reflect.KFunction0 import kotlin.reflect.KFunction0
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT // WITH_REFLECT
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
import java.util.Arrays import java.util.Arrays
import kotlin.reflect.KClass import kotlin.reflect.KClass
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT // WITH_REFLECT
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
import java.util.Arrays import java.util.Arrays
import kotlin.reflect.KClass import kotlin.reflect.KClass
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.io.Serializable import java.io.Serializable
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.util.IdentityHashMap import java.util.IdentityHashMap
import kotlin.reflect.KProperty import kotlin.reflect.KProperty
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
// FULL_JDK // FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.io.Serializable import java.io.Serializable
@@ -1,7 +1,6 @@
// IGNORE_BACKEND: JS_IR
// FULL_JDK // FULL_JDK
// WITH_RUNTIME // WITH_RUNTIME
// IGNORE_BACKEND: JS, NATIVE // TARGET_BACKEND: JVM
import java.util.concurrent.locks.ReentrantReadWriteLock import java.util.concurrent.locks.ReentrantReadWriteLock
import kotlin.concurrent.read import kotlin.concurrent.read
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FILE: Test.java // FILE: Test.java
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
package while_bug_1 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 // WITH_REFLECT
// FULL_JDK // FULL_JDK
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
// FULL_JDK // FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.util.Date import java.util.Date
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT // WITH_REFLECT
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME // WITH_RUNTIME
// IGNORE_BACKEND: JS, NATIVE // TARGET_BACKEND: JVM
// FILE: First.java // FILE: First.java
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.io.* import java.io.*
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.io.* import java.io.*
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
+1 -3
View File
@@ -1,7 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
// FULL_JDK // FULL_JDK
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK // FULL_JDK
package test package test
+1 -3
View File
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JS_IR // TARGET_BACKEND: JVM
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.io.* import java.io.*
@@ -1,9 +1,7 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_REFLECT // WITH_REFLECT
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: JavaAnn.java // FILE: JavaAnn.java
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_RUNTIME // WITH_RUNTIME
package builders package builders
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_RUNTIME // WITH_RUNTIME
package builders package builders
+1 -1
View File
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_RUNTIME // WITH_RUNTIME
package test package test
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_RUNTIME // WITH_RUNTIME
package test package test
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_RUNTIME // WITH_RUNTIME
package test package test
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// FULL_JDK // FULL_JDK
// WITH_REFLECT // WITH_REFLECT
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_REFLECT // WITH_REFLECT
package test package test
+1 -1
View File
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: 1.kt // FILE: 1.kt
// WITH_REFLECT // WITH_REFLECT
package test package test
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: A.kt // FILE: A.kt
@file:[JvmName("Test") JvmMultifileClass] @file:[JvmName("Test") JvmMultifileClass]
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE // TARGET_BACKEND: JVM
// FILE: A.kt // FILE: A.kt
package test package test