From ab0f8cb6cd49fe89ec1f0041485c799d13808e88 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Wed, 22 Feb 2017 11:51:29 +0300 Subject: [PATCH] buildSrc: Count skipped tests --- buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy index 1b6e44affe9..55767258bf4 100644 --- a/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy +++ b/buildSrc/src/main/groovy/org/jetbrains/kotlin/KonanTest.groovy @@ -257,7 +257,7 @@ class RunExternalTestGroup extends RunKonanTest { total += other.total passed += other.passed failed += other.failed - error += other.error + error += other.error skipped += other.skipped } } @@ -425,6 +425,7 @@ fun main(args : Array) { } TestResult skip() { + statistics.skip() return new TestResult(TestStatus.SKIPPED) } }