mocobeta commented on code in PR #893:
URL: https://github.com/apache/lucene/pull/893#discussion_r873963691


##########
lucene/distribution.tests/build.gradle:
##########
@@ -50,10 +50,15 @@ test {
   jvmArgumentProviders.add(new CommandLineArgumentProvider() {
     @Override
     Iterable<String> asArguments() {
-      return [
+      var args = [
           
"-Dlucene.distribution.dir=${configurations.binaryDistribution.singleFile.absolutePath
 }",
           "-Dlucene.distribution.version=${project.version}"
       ]
+      if (isCIBuild) {
+        // force to run GUI tests
+        args += ["-Dtests.gui=true"]
+      }

Review Comment:
   I simply use `isCIBuild` variable that was introduced in #890; this might be 
hacky?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to