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 // Marlin ClipShapeTest 4047 systemProperty "ClipShapeTest.numTests", project.getProperty("ClipShapeTest.numTests") 4048 4049 if (!IS_USE_ROBOT) { 4050 // Disable all robot-based visual tests 4051 exclude("test/robot/**"); 4052 } 4053 if (!IS_UNSTABLE_TEST) { 4054 // JDK-8196607 Don't run monocle test cases 4055 exclude("test/robot/com/sun/glass/ui/monocle/**"); 4056 } 4057 if (!IS_AWT_TEST) { 4058 // Disable all AWT-based tests 4059 exclude("**/javafx/embed/swing/*.*"); 4060 exclude("**/com/sun/javafx/application/Swing*.*"); 4061 } 4062 4063 if (!HAS_JAVAFX_MODULES) { 4064 jvmArgs += qualExportsSwing 4065 } 4066 4067 forkEvery = 1 4068 } |