diff --git a/compiler/testData/codegen/box/ieee754/equalsDouble.kt b/compiler/testData/codegen/box/ieee754/equalsDouble.kt index 04543ac57bd..944984e66c8 100644 --- a/compiler/testData/codegen/box/ieee754/equalsDouble.kt +++ b/compiler/testData/codegen/box/ieee754/equalsDouble.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun equals1(a: Double, b: Double) = a == b diff --git a/compiler/testData/codegen/box/ieee754/equalsFloat.kt b/compiler/testData/codegen/box/ieee754/equalsFloat.kt index 24ebf98595d..17bc8319e91 100644 --- a/compiler/testData/codegen/box/ieee754/equalsFloat.kt +++ b/compiler/testData/codegen/box/ieee754/equalsFloat.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun equals1(a: Float, b: Float) = a == b diff --git a/compiler/testData/codegen/box/ieee754/equalsNaN.kt b/compiler/testData/codegen/box/ieee754/equalsNaN.kt index 4ec2d9c3922..1f44c5f0c45 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNaN.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNaN.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR // WITH_RUNTIME import kotlin.test.* diff --git a/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt b/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt index 40cc7f4c995..b94003d715a 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun equals1(a: Double, b: Double?) = a == b diff --git a/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt b/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt index 6a58a410957..80cbca5d6d6 100644 --- a/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt +++ b/compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun equals1(a: Float, b: Float?) = a == b diff --git a/compiler/testData/codegen/box/ieee754/greaterDouble.kt b/compiler/testData/codegen/box/ieee754/greaterDouble.kt index 55c7e85b4d5..0abf1358552 100644 --- a/compiler/testData/codegen/box/ieee754/greaterDouble.kt +++ b/compiler/testData/codegen/box/ieee754/greaterDouble.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun greater1(a: Double, b: Double) = a > b diff --git a/compiler/testData/codegen/box/ieee754/greaterFloat.kt b/compiler/testData/codegen/box/ieee754/greaterFloat.kt index 81e65802f13..ee952c4987b 100644 --- a/compiler/testData/codegen/box/ieee754/greaterFloat.kt +++ b/compiler/testData/codegen/box/ieee754/greaterFloat.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun greater1(a: Float, b: Float) = a > b diff --git a/compiler/testData/codegen/box/ieee754/lessDouble.kt b/compiler/testData/codegen/box/ieee754/lessDouble.kt index eb48b4eae2d..d6d27b86693 100644 --- a/compiler/testData/codegen/box/ieee754/lessDouble.kt +++ b/compiler/testData/codegen/box/ieee754/lessDouble.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun less1(a: Double, b: Double) = a < b diff --git a/compiler/testData/codegen/box/ieee754/lessFloat.kt b/compiler/testData/codegen/box/ieee754/lessFloat.kt index 24b6de0d797..2800adcc2a7 100644 --- a/compiler/testData/codegen/box/ieee754/lessFloat.kt +++ b/compiler/testData/codegen/box/ieee754/lessFloat.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun less1(a: Float, b: Float) = a < b diff --git a/compiler/testData/codegen/box/ieee754/when.kt b/compiler/testData/codegen/box/ieee754/when.kt index 10b31835a7d..d544f25f123 100644 --- a/compiler/testData/codegen/box/ieee754/when.kt +++ b/compiler/testData/codegen/box/ieee754/when.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun box(): String { val plusZero: Any = 0.0 diff --git a/compiler/testData/codegen/box/ieee754/whenNoSubject.kt b/compiler/testData/codegen/box/ieee754/whenNoSubject.kt index 80f58012380..29f4fb9af47 100644 --- a/compiler/testData/codegen/box/ieee754/whenNoSubject.kt +++ b/compiler/testData/codegen/box/ieee754/whenNoSubject.kt @@ -1,6 +1,6 @@ // !LANGUAGE: -ProperIeee754Comparisons // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR +// DONT_TARGET_EXACT_BACKEND: JS_IR fun box(): String { val plusZero: Any = 0.0 diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java index 33a6dbb2172..191a730fdd7 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java @@ -9064,51 +9064,26 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/differentTypesComparison.kt"); } - @TestMetadata("equalsDouble.kt") - public void testEqualsDouble() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/equalsDouble.kt"); - } - @TestMetadata("equalsDouble_properIeeeComparisons.kt") public void testEqualsDouble_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/equalsDouble_properIeeeComparisons.kt"); } - @TestMetadata("equalsFloat.kt") - public void testEqualsFloat() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/equalsFloat.kt"); - } - @TestMetadata("equalsFloat_properIeeeComparisons.kt") public void testEqualsFloat_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/equalsFloat_properIeeeComparisons.kt"); } - @TestMetadata("equalsNaN.kt") - public void testEqualsNaN() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/equalsNaN.kt"); - } - @TestMetadata("equalsNaN_properIeeeComparisons.kt") public void testEqualsNaN_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/equalsNaN_properIeeeComparisons.kt"); } - @TestMetadata("equalsNullableDouble.kt") - public void testEqualsNullableDouble() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/equalsNullableDouble.kt"); - } - @TestMetadata("equalsNullableDouble_properIeeeComparisons.kt") public void testEqualsNullableDouble_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/equalsNullableDouble_properIeeeComparisons.kt"); } - @TestMetadata("equalsNullableFloat.kt") - public void testEqualsNullableFloat() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/equalsNullableFloat.kt"); - } - @TestMetadata("equalsNullableFloat_properIeeeComparisons.kt") public void testEqualsNullableFloat_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/equalsNullableFloat_properIeeeComparisons.kt"); @@ -9129,21 +9104,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/generic.kt"); } - @TestMetadata("greaterDouble.kt") - public void testGreaterDouble() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/greaterDouble.kt"); - } - @TestMetadata("greaterDouble_properIeeeComparisons.kt") public void testGreaterDouble_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/greaterDouble_properIeeeComparisons.kt"); } - @TestMetadata("greaterFloat.kt") - public void testGreaterFloat() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/greaterFloat.kt"); - } - @TestMetadata("greaterFloat_properIeeeComparisons.kt") public void testGreaterFloat_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/greaterFloat_properIeeeComparisons.kt"); @@ -9154,11 +9119,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/inline.kt"); } - @TestMetadata("lessDouble.kt") - public void testLessDouble() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/lessDouble.kt"); - } - @TestMetadata("lessDouble_properIeeeAndNewInference.kt") public void testLessDouble_properIeeeAndNewInference() throws Exception { runTest("compiler/testData/codegen/box/ieee754/lessDouble_properIeeeAndNewInference.kt"); @@ -9169,11 +9129,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/lessDouble_properIeeeComparisons.kt"); } - @TestMetadata("lessFloat.kt") - public void testLessFloat() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/lessFloat.kt"); - } - @TestMetadata("lessFloat_properIeeeComparisons.kt") public void testLessFloat_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/lessFloat_properIeeeComparisons.kt"); @@ -9269,11 +9224,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/smartCastToDoubleAndComparableToDouble.kt"); } - @TestMetadata("when.kt") - public void testWhen() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/when.kt"); - } - @TestMetadata("when10.kt") public void testWhen10() throws Exception { runTest("compiler/testData/codegen/box/ieee754/when10.kt"); @@ -9284,11 +9234,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/ieee754/when10_properIeeeComparisons.kt"); } - @TestMetadata("whenNoSubject.kt") - public void testWhenNoSubject() throws Exception { - runTest("compiler/testData/codegen/box/ieee754/whenNoSubject.kt"); - } - @TestMetadata("whenNoSubject_properIeeeComparisons.kt") public void testWhenNoSubject_properIeeeComparisons() throws Exception { runTest("compiler/testData/codegen/box/ieee754/whenNoSubject_properIeeeComparisons.kt");