From 974bf15a9cad748db09a95fb2fab3c432c352b6a Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Wed, 28 Aug 2019 17:18:32 +0700 Subject: [PATCH] Tests: Disable some Harmony regex tests due to KT-33175 --- backend.native/tests/build.gradle | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index b838778f66e..52afb4169ac 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -3677,6 +3677,20 @@ KotlinNativeTestKt.createTest(project, 'harmonyRegexTest', KonanGTest) { task -> task.useFilter = false task.testLogger = KonanTest.Logger.GTEST + if (twoStageEnabled) { + // Exclude tests with lone surrogates/incorrect surrogate pairs failing due to KT-33175. + def excludedTests = [ + "test.text.harmony_regex.PatternTest.testCanonEqFlagWithSupplementaryCharacters", + "test.text.harmony_regex.PatternTest.testRangesWithSurrogatesSupplementary", + "test.text.harmony_regex.PatternTest.testSequencesWithSurrogatesSupplementary", + "test.text.harmony_regex.PatternTest.testPredefinedClassesWithSurrogatesSupplementary", + "test.text.harmony_regex.PatternTest.testDotConstructionWithSurrogatesSupplementary", + "test.text.harmony_regex.PatternTest.testAlternationsWithSurrogatesSupplementary", + "test.text.harmony_regex.PatternTest.testGroupsWithSurrogatesSupplementary" + ] + task.arguments += "--ktest_filter=*-${excludedTests.join(":")}" + } + def sources = UtilsKt.getFilesToCompile(project, ["harmony_regex"], []) konanArtifacts {