From 39a65a099a8606333965bf590d064525a6c852c4 Mon Sep 17 00:00:00 2001 From: Pavel Punegov Date: Thu, 9 Aug 2018 14:18:39 +0300 Subject: [PATCH] Disable IEEE754 tests with improper comparisons behaviour in Native --- .../testData/codegen/box/ieee754/differentTypesComparison.kt | 1 + .../box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt | 1 + compiler/testData/codegen/box/ieee754/when10.kt | 1 + 3 files changed, 3 insertions(+) diff --git a/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt b/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt index 1dbe68f113f..e1922d26397 100644 --- a/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt +++ b/compiler/testData/codegen/box/ieee754/differentTypesComparison.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JS_IR fun box(): String { if (0.toByte().compareTo(-0.0) != 1) return "fail 1.1" diff --git a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt index 302f78e6d1e..be7bd9fb8ae 100644 --- a/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt +++ b/compiler/testData/codegen/box/ieee754/smartCastToDifferentTypesWithNumericPromotion.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR fun eqDI(x: Any?, y: Any?) = x is Double? && y is Int? && x == y diff --git a/compiler/testData/codegen/box/ieee754/when10.kt b/compiler/testData/codegen/box/ieee754/when10.kt index ac00ccbae2c..13f512ed039 100644 --- a/compiler/testData/codegen/box/ieee754/when10.kt +++ b/compiler/testData/codegen/box/ieee754/when10.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: NATIVE // IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: JS_IR // LANGUAGE_VERSION: 1.0