Add build-tools/xvfb-java.sh

This commit is contained in:
Edwin Jakobs
2020-04-27 10:51:46 +02:00
parent 7fbc02deb4
commit dd79ad7aef
2 changed files with 3 additions and 0 deletions

2
build-tools/xvfb-java.sh Executable file
View File

@@ -0,0 +1,2 @@
#/bin/bash
xvfb-run java "$@"

View File

@@ -155,6 +155,7 @@ task collectScreenshots {
main = className
jvmArgs += "-DtakeScreenshot=true"
jvmArgs += "-DscreenshotPath=${sub.name}/images/${className}.png"
executable = "./build-tools/xvfb-java.sh"
}
} catch (e) {
// skip?