diff options
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index c90cdd6f..7d1f42ae 100644 --- a/make/build.xml +++ b/make/build.xml @@ -372,6 +372,12 @@ grant codeBase "file:/${basedir}/test/script/basic/classloader.js" { <copy file="${file.reference.jfxrt.jar}" todir="dist"/> + <condition property="jfx.prism.order" value="-Dprism.order=j2d" else=" "> + <not> + <os family="mac"/> + </not> + </condition> + <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> <jvmarg line="${ext.class.path}"/> @@ -380,6 +386,7 @@ grant codeBase "file:/${basedir}/test/script/basic/classloader.js" { <propertyref prefix="testjfx-test-sys-prop."/> <mapper from="testjfx-test-sys-prop.*" to="*" type="glob"/> </propertyset> + <sysproperty key="test.fork.jvm.options" value="${testjfx-test-sys-prop.test.fork.jvm.options} ${jfx.prism.order}"/> <classpath> <pathelement path="${testjfx.run.test.classpath}"/> </classpath> |