From 30aed40665c620052232b5478075efc141928ed2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Mon, 12 Mar 2018 09:41:24 +0100 Subject: [PATCH] [build] support optional run of tests in parallel use -PmaxParallelTests=X (eg, X=4) as command line argument of ./gradlew --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 253113edede..c870a12d062 100644 --- a/build.gradle +++ b/build.gradle @@ -233,6 +233,8 @@ subprojects { exceptionFormat 'full' // log the full stack trace (default is the 1st line of the stack trace) events "skipped", "failed" // verbose log for failed and skipped tests (by default the name of the tests are not logged) } + if (project.hasProperty('maxParallelTests')) + maxParallelForks = project.maxParallelTests as int } def protoMainSrc = 'src/main/protobuf' -- 2.39.5