Remove directives that have no effect from bytecode text tests

All bytecode text tests are run with stdlib in the classpath and only
for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND,
IGNORE_BACKEND are not needed
This commit is contained in:
Alexander Udalov
2018-12-18 17:35:14 +01:00
parent 00caa23307
commit f5ff3d2fa9
90 changed files with 86 additions and 227 deletions

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun intRange() = 1 .. 4
@@ -27,4 +26,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun box(): String {
@@ -12,4 +11,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun box(): String {
@@ -12,4 +11,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun box(): String {
@@ -12,4 +11,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun box(): String {
@@ -23,4 +22,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,5 +1,3 @@
// WITH_RUNTIME
fun box(): String {
for (i in (4 .. 1).reversed()) {
throw AssertionError("Loop should not be executed")
@@ -18,4 +16,4 @@ fun box(): String {
// 0 getEnd
// 0 getFirst
// 0 getLast
// 0 getStep
// 0 getStep

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun intRange() = 1 .. 4
@@ -27,4 +26,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun box(): String {
@@ -32,4 +31,4 @@ fun box(): String {
// 0 IFEQ
// 0 IF_ICMPEQ
// 2 IF_ICMPLT
// 1 LCMP
// 1 LCMP

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun intRange() = 1 .. 4
@@ -27,4 +26,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed

View File

@@ -1,4 +1,3 @@
// WITH_RUNTIME
import kotlin.test.*
fun box(): String {
@@ -20,4 +19,4 @@ fun box(): String {
return "OK"
}
// 0 reversed
// 0 reversed