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


##########
gradlew:
##########
@@ -217,4 +217,8 @@ if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
   cd "$(dirname "$0")"
 fi
 
-exec "$JAVACMD" "$@"
+if command -v xvfb-run > /dev/null 2>&1; then
+  exec xvfb-run -w 0 "$JAVACMD" "$@"
+else
+  exec "$JAVACMD" "$@"
+fi

Review Comment:
   Maybe we can just move this to `luke.sh` I think. 
(`distribution.TestScripts` would set some binary env variable to 
enable/disable the virtual window configuration.)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to