4026 pendingModulePath = true 4027 } 4028 } 4029 4030 // Properties passed to launcher tests 4031 systemProperty "launchertest.testapp1.jar", "build/testapp1/$testapp1JarName" 4032 modtestapps.each { testapp -> 4033 systemProperty "launchertest.${testapp}.module.path", 4034 "${project.buildDir}/modules/${testapp}" 4035 } 4036 4037 // Properties passed to test.util.Util 4038 systemProperties 'worker.debug': IS_WORKER_DEBUG 4039 systemProperties 'worker.patchmodule.file': cygpath(stRunArgsFile.path) 4040 if (project.hasProperty("launcherModulePath")) { 4041 systemProperties 'worker.module.path': launcherModulePath 4042 } 4043 systemProperties 'worker.patch.policy': cygpath(testJavaPolicyFile.path) 4044 systemProperties 'worker.java.cmd': JAVA 4045 4046 if (!IS_USE_ROBOT) { 4047 // Disable all robot-based visual tests 4048 exclude("test/robot/**"); 4049 } 4050 if (!IS_UNSTABLE_TEST) { 4051 // JDK-8196607 Don't run monocle test cases 4052 exclude("test/robot/com/sun/glass/ui/monocle/**"); 4053 } 4054 if (!IS_AWT_TEST) { 4055 // Disable all AWT-based tests 4056 exclude("**/javafx/embed/swing/*.*"); 4057 exclude("**/com/sun/javafx/application/Swing*.*"); 4058 } 4059 4060 if (!HAS_JAVAFX_MODULES) { 4061 jvmArgs += qualExportsSwing 4062 } 4063 4064 forkEvery = 1 4065 } | 4026 pendingModulePath = true 4027 } 4028 } 4029 4030 // Properties passed to launcher tests 4031 systemProperty "launchertest.testapp1.jar", "build/testapp1/$testapp1JarName" 4032 modtestapps.each { testapp -> 4033 systemProperty "launchertest.${testapp}.module.path", 4034 "${project.buildDir}/modules/${testapp}" 4035 } 4036 4037 // Properties passed to test.util.Util 4038 systemProperties 'worker.debug': IS_WORKER_DEBUG 4039 systemProperties 'worker.patchmodule.file': cygpath(stRunArgsFile.path) 4040 if (project.hasProperty("launcherModulePath")) { 4041 systemProperties 'worker.module.path': launcherModulePath 4042 } 4043 systemProperties 'worker.patch.policy': cygpath(testJavaPolicyFile.path) 4044 systemProperties 'worker.java.cmd': JAVA 4045 4046 if (rootProject.hasProperty("ClipShapeTest.numTests")) { 4047 systemProperty "ClipShapeTest.numTests", rootProject.getProperty("ClipShapeTest.numTests") 4048 } 4049 4050 if (!IS_USE_ROBOT) { 4051 // Disable all robot-based visual tests 4052 exclude("test/robot/**"); 4053 } 4054 if (!IS_UNSTABLE_TEST) { 4055 // JDK-8196607 Don't run monocle test cases 4056 exclude("test/robot/com/sun/glass/ui/monocle/**"); 4057 } 4058 if (!IS_AWT_TEST) { 4059 // Disable all AWT-based tests 4060 exclude("**/javafx/embed/swing/*.*"); 4061 exclude("**/com/sun/javafx/application/Swing*.*"); 4062 } 4063 4064 if (!HAS_JAVAFX_MODULES) { 4065 jvmArgs += qualExportsSwing 4066 } 4067 4068 forkEvery = 1 4069 } |