[ 
https://issues.apache.org/jira/browse/LUCENE-9122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012085#comment-17012085
 ] 

Dawid Weiss edited comment on LUCENE-9122 at 1/9/20 6:03 PM:
-------------------------------------------------------------

By default tests are executed with the same Java gradle is using internally. To 
run tests against a different Java version define a property called 
"runtime.java.home" or define an environment variable "RUNTIME_JAVA_HOME" 
pointing at the JDK installation folder.

If property is used, it can be a system property (-D...) or a project property 
(-P...).

Example:
{code:java}
gradlew test -p lucene/test-framework --tests TestJvmInfo -Dtests.verbose=true 
-Druntime.java.home=/jvms/jdk14 {code}


was (Author: dweiss):
{code:java}
Testing against different JVMs
------------------------------By default tests are executed with the same Java 
gradle is using internally.
To run tests against a different Java version define a property called
"runtime.java.home" or define an environment variable "RUNTIME_JAVA_HOME"
pointing at the JDK installation folder.If property is used, it can be a system 
property (-D...) or a project
property (-P...).Example:gradlew test -p lucene/test-framework --tests 
TestJvmInfo -Dtests.verbose=true -Druntime.java.home=/jvms/jdk14 {code}

> Allow running tests against gradle-unsupported ea-JVMs
> ------------------------------------------------------
>
>                 Key: LUCENE-9122
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9122
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to