From 091903c6a23ac10d3ee1877f401bd751d041c3d3 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Fri, 9 Oct 2020 13:27:28 +0700 Subject: [PATCH] [Runtime testing] Store GTest revision in root gradle.properties --- gradle.properties | 6 ++++++ runtime/build.gradle.kts | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 088b38c4bf6..b8eff26073e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,6 +29,12 @@ konanVersion=1.4.30 # A version of Xcode required to build the Kotlin/Native compiler. xcodeMajorVersion=12 +# A GTest revision used to test the runtime. +# The latest release GTest (1.10.0) doesn't properly register skipped tests in an XML-report. +# Therefore we use a fixed commit form the master branch where this problem is already fixed. +# https://github.com/google/googletest/commit/07f4869221012b16b7f9ee685d94856e1fc9f361 +gtestRevision=07f4869221012b16b7f9ee685d94856e1fc9f361 + org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.workers.max=4 diff --git a/runtime/build.gradle.kts b/runtime/build.gradle.kts index 5089cd68182..5385e4f7c35 100644 --- a/runtime/build.gradle.kts +++ b/runtime/build.gradle.kts @@ -12,10 +12,7 @@ plugins { } googletest { - // The latest release GTest (1.10.0) doesn't properly register skipped tests in an XML-report. - // Therefore we use a fixed commit form the master branch where this problem is already fixed. - // https://github.com/google/googletest/commit/07f4869221012b16b7f9ee685d94856e1fc9f361 - revision = "07f4869221012b16b7f9ee685d94856e1fc9f361" + revision = project.property("gtestRevision") as String refresh = project.hasProperty("refresh-gtest") }