You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2020/02/07 15:46:17 UTC

[calcite-avatica] branch master updated: Color test results in Gradle output

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new 63525d7  Color test results in Gradle output
63525d7 is described below

commit 63525d7c772e3ef3db0747ef38f2f59ccdd9dbf6
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Fri Feb 7 18:44:45 2020 +0300

    Color test results in Gradle output
    
    The coloring is enabled by default except on Windows.
    It can be configured via `-Pnocolor`, `-Pnocolor=true|false`.
    
    Colors:
    * red: errors > 0
    * blue: skipped > 0 or totalTests == 0
    * bold: test duration exceeds slowTestLogThreshold (2000 by default)
---
 build.gradle.kts  | 2 ++
 gradle.properties | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.gradle.kts b/build.gradle.kts
index 1410ffe..bdc56ca 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -23,6 +23,7 @@ import com.github.vlsi.gradle.properties.dsl.lastEditYear
 import com.github.vlsi.gradle.properties.dsl.props
 import com.github.vlsi.gradle.properties.dsl.toBool
 import com.github.vlsi.gradle.release.RepositoryType
+import com.github.vlsi.gradle.test.dsl.printTestResults
 import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApis
 import de.thetaphi.forbiddenapis.gradle.CheckForbiddenApisExtension
 import org.gradle.api.tasks.testing.logging.TestExceptionFormat
@@ -396,6 +397,7 @@ allprojects {
                         passProperty(e)
                     }
                 }
+                printTestResults()
             }
             withType<SpotBugsTask>().configureEach {
                 group = LifecycleBasePlugin.VERIFICATION_GROUP
diff --git a/gradle.properties b/gradle.properties
index 432aff7..8a90bdb 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -37,7 +37,7 @@ calcite.avatica.version=1.17.0
 com.github.autostyle.version=3.0
 com.github.johnrengelman.shadow.version=5.1.0
 com.github.spotbugs.version=2.0.0
-com.github.vlsi.vlsi-release-plugins.version=1.52
+com.github.vlsi.vlsi-release-plugins.version=1.60
 com.google.protobuf.version=0.8.10
 de.thetaphi.forbiddenapis.version=2.7
 org.jetbrains.gradle.plugin.idea-ext.version=0.5