< prev index next >

./build.gradle

Print this page
rev 9598 : 8147415: Enable swing tests in Jake
Reviewd-by: kcr

@@ -1794,13 +1794,21 @@
     }
     */
     project.ext.buildModule = COMPILE_SWING
     project.ext.moduleRuntime = true
     project.ext.moduleName = "javafx.swing"
+
     dependencies {
         compile BUILD_SRC, project(":base"), project(":graphics")
     }
+
+    Set<String> testInclude = [ "test/**" ]
+    configureJDK9tests(project, [ "base", "graphics", "controls" ],
+        null, testInclude,
+        null // no addExports
+    )
+
     test {
         enabled = IS_FULL_TEST && IS_AWT_TEST
     }
 }
 

@@ -3864,11 +3872,13 @@
                 String bcp = "-Xbootclasspath/a:" + rootProject.projectDir.path + "/buildSrc/build/libs/buildSrc.jar"
 
                 systemProperties 'worker.debug': true //DAVE
                 systemProperties 'worker.library.path': javaLibraryPath
                 systemProperties 'worker.xpatch.dir': patchesDir.path
+                if (addExportsFile != null) {
                 systemProperties 'worker.exports.file': addExportsFile
+                }
                 systemProperties 'worker.classpath.file': p.ext.argclasspathFile
                 systemProperties 'worker.java9': JAVA9
 
                 //systemProperties 'prism.order': 'sw'
                 //systemProperties 'glass.platform': 'Monocle'
< prev index next >