Ignore failing tests

This commit is contained in:
Pavel Punegov
2017-11-08 16:38:38 +03:00
committed by Pavel Punegov
parent fd45aea4da
commit 9400ee6a8e
23 changed files with 29 additions and 16 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
var global = 0; var global = 0;
class C { class C {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
object A { object A {
const val a: String = "$" const val a: String = "$"
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME // WITH_RUNTIME
class A() { class A() {
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
package demo2 package demo2
fun print(o : Any?) {} fun print(o : Any?) {}
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
package demo2 package demo2
fun print(o : Any?) {} fun print(o : Any?) {}
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
val NAN = Double.NaN val NAN = Double.NaN
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
val NAN = Float.NaN val NAN = Float.NaN
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
var result = "" var result = ""
enum class E(a: String) { enum class E(a: String) {
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
if ((-0.0 as Comparable<Double>) >= 0.0) return "fail 0" if ((-0.0 as Comparable<Double>) >= 0.0) return "fail 0"
if ((-0.0F as Comparable<Float>) >= 0.0F) return "fail 1" if ((-0.0F as Comparable<Float>) >= 0.0F) return "fail 1"
@@ -1,3 +1,5 @@
// IGNORE_BACKEND: NATIVE
data class Test(val z1: Double, val z2: Double?) data class Test(val z1: Double, val z2: Double?)
fun box(): String { fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: NATIVE
// WITH_RUNTIME // WITH_RUNTIME
import kotlin.test.* import kotlin.test.*
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun less1(a: Double, b: Double) = a.compareTo(b) == -1 fun less1(a: Double, b: Double) = a.compareTo(b) == -1
fun less2(a: Double?, b: Double?) = a!!.compareTo(b!!) == -1 fun less2(a: Double?, b: Double?) = a!!.compareTo(b!!) == -1
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun equals1(a: Double, b: Double) = a.equals(b) fun equals1(a: Double, b: Double) = a.equals(b)
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
inline fun less(a: Comparable<Double>, b: Double): Boolean { inline fun less(a: Comparable<Double>, b: Double): Boolean {
return a < b return a < b
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val plusZero: Double? = 0.0 val plusZero: Double? = 0.0
val minusZero: Double = -0.0 val minusZero: Double = -0.0
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
fun box(): String { fun box(): String {
val zero: Any = 0.0 val zero: Any = 0.0
val floatZero: Any = -0.0F val floatZero: Any = -0.0F
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// missing isArrayOf on JS // missing isArrayOf on JS
// WITH_RUNTIME // WITH_RUNTIME
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// on JS Parser.parse and MultiParser.parse clash in ProjectInfoJsonParser // on JS Parser.parse and MultiParser.parse clash in ProjectInfoJsonParser
class JsonObject { class JsonObject {
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not // TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS // IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME // WITH_RUNTIME