Add build-tools/xvfb-java.sh
This commit is contained in:
2
build-tools/xvfb-java.sh
Executable file
2
build-tools/xvfb-java.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#/bin/bash
|
||||||
|
xvfb-run java "$@"
|
||||||
@@ -155,6 +155,7 @@ task collectScreenshots {
|
|||||||
main = className
|
main = className
|
||||||
jvmArgs += "-DtakeScreenshot=true"
|
jvmArgs += "-DtakeScreenshot=true"
|
||||||
jvmArgs += "-DscreenshotPath=${sub.name}/images/${className}.png"
|
jvmArgs += "-DscreenshotPath=${sub.name}/images/${className}.png"
|
||||||
|
executable = "./build-tools/xvfb-java.sh"
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// skip?
|
// skip?
|
||||||
|
|||||||
Reference in New Issue
Block a user