Merge branch 'task/JAL-3608_property_set_laf_and_tests' into develop
[jalview.git] / build.gradle
index 0f4ad16..bfd7a8f 100644 (file)
@@ -1220,6 +1220,11 @@ test {
 
   workingDir = jalviewDir
   //systemProperties 'clover.jar' System.properties.clover.jar
+  def testLaf = project.findProperty("test_laf")
+  if (testLaf != null) {
+    println("Setting Test LaF to '${testLaf}'")
+    systemProperty "laf", testLaf
+  }
   sourceCompatibility = compile_source_compatibility
   targetCompatibility = compile_target_compatibility
   jvmArgs += additional_compiler_args