From 2fccf6875f1df6c495cd477809c0743f30effd83 Mon Sep 17 00:00:00 2001 From: Georgy Bronnikov Date: Fri, 31 Aug 2018 15:43:28 +0300 Subject: [PATCH] Mute tests involving Char.{MIN,MAX}_VALUE, analogously to other primitive types --- compiler/testData/codegen/box/binaryOp/overflowChar.kt | 1 + .../ranges/forWithPossibleOverflow/forInDownToCharMinValue.kt | 1 + .../forWithPossibleOverflow/forInDownToCharMinValueReversed.kt | 1 + .../ranges/forWithPossibleOverflow/forInRangeToCharMaxValue.kt | 1 + .../forWithPossibleOverflow/forInRangeToCharMaxValueReversed.kt | 1 + 5 files changed, 5 insertions(+) diff --git a/compiler/testData/codegen/box/binaryOp/overflowChar.kt b/compiler/testData/codegen/box/binaryOp/overflowChar.kt index 9fc3a9adc82..377f8553ca2 100644 --- a/compiler/testData/codegen/box/binaryOp/overflowChar.kt +++ b/compiler/testData/codegen/box/binaryOp/overflowChar.kt @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_IR fun box(): String { val c1: Char = Char.MIN_VALUE val c2 = c1 - 1 diff --git a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValue.kt b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValue.kt index 2a70ba6b146..66346cea158 100644 --- a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValue.kt +++ b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValue.kt @@ -1,4 +1,5 @@ // WITH_RUNTIME +// IGNORE_BACKEND: JVM_IR const val M = Char.MIN_VALUE diff --git a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValueReversed.kt b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValueReversed.kt index 86dd4d322b4..a3b31e134ea 100644 --- a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValueReversed.kt +++ b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInDownToCharMinValueReversed.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: JS_IR +// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME const val M = Char.MIN_VALUE diff --git a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValue.kt b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValue.kt index d883d096a61..c9b648ad317 100644 --- a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValue.kt +++ b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValue.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: JS_IR +// IGNORE_BACKEND: JVM_IR const val M = Char.MAX_VALUE fun box(): String { diff --git a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValueReversed.kt b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValueReversed.kt index 22fc80cf935..5fda7b8897e 100644 --- a/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValueReversed.kt +++ b/compiler/testData/codegen/box/ranges/forWithPossibleOverflow/forInRangeToCharMaxValueReversed.kt @@ -1,4 +1,5 @@ // IGNORE_BACKEND: JS_IR +// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME const val M = Char.MAX_VALUE