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

benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git

commit 0c8e7db7f14132f222a92c26c09815f91ea73ad2
Author: Ben Weidig <[email protected]>
AuthorDate: Tue Mar 17 17:10:57 2026 +0100

    TAP5-2809: testing-base-convention improved
    
    Set all the system properties at once, and propagate 'ci' to make it
    viable for TAP5-2819
---
 .../src/main/groovy/tapestry.testing-base-convention.gradle | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/buildSrc/src/main/groovy/tapestry.testing-base-convention.gradle 
b/buildSrc/src/main/groovy/tapestry.testing-base-convention.gradle
index 7a3efcd79..f04cdf529 100644
--- a/buildSrc/src/main/groovy/tapestry.testing-base-convention.gradle
+++ b/buildSrc/src/main/groovy/tapestry.testing-base-convention.gradle
@@ -9,15 +9,16 @@ dependencies {
 tasks.withType(Test).configureEach { testTask ->
     maxHeapSize = '600M'
 
-    systemProperties['tapestry.service-reloading-enabled'] = 'false'
-    systemProperties['java.io.tmpdir'] = temporaryDir.absolutePath
+    systemProperties(
+        'tapestry.service-reloading-enabled': 'false',
+        'java.io.tmpdir': temporaryDir.absolutePath,
+        'file.encoding': 'UTF-8',
+        'user.language': 'en', // TAP5-2722
+        'ci': System.getProperty('ci', 'false') // TAP5-2819: Propagate 'ci' 
from possible GRADLE_OPTS to forked test workers
+    )
 
-    jvmArgs '-Dfile.encoding=UTF-8'
     environment.LANG = 'en_US.UTF-8'
 
-    // TAP5-2722
-    systemProperty 'user.language', 'en'
-
     testLogging {
         exceptionFormat 'full'
         events 'passed', 'skipped', 'failed'

Reply via email to