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

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new f563bd21ab fix jmh tests (proper handling of benchInclude)
f563bd21ab is described below

commit f563bd21aba5caac3296ab6ad712f3b923ca146e
Author: Paul King <[email protected]>
AuthorDate: Sun Feb 15 11:01:23 2026 +1000

    fix jmh tests (proper handling of benchInclude)
---
 build-logic/src/main/groovy/org.apache.groovy-performance.gradle | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle 
b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
index b4ba38190d..896252de2a 100644
--- a/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
+++ b/build-logic/src/main/groovy/org.apache.groovy-performance.gradle
@@ -86,6 +86,11 @@ tasks.named('test') {
     useJUnitPlatform()
 }
 
+tasks.named('jmh') {
+    inputs.property('benchInclude', project.findProperty('benchInclude') ?: '')
+    dependsOn tasks.named('jmhClasses')
+}
+
 tasks.named('jmhJar') {
     from(sourceSets.jmh.output)
 }

Reply via email to