JAL-629 better test fixes. --props=... instead of --debug
[jalview.git] / test / jalview / bin / HiDPISettingTest2.java
index f1630bb..87a26d1 100644 (file)
@@ -129,7 +129,7 @@ public class HiDPISettingTest2
     String classpath = getClassPath();
     String cmd = java_exe + " " + " -classpath " + classpath + " " + jvmArgs
             + " jalview.bin.Jalview " + " "
-            + "-props test/jalview/bin/hidpiTestProps.jvprops " + appArgs;
+            + "--props=test/jalview/bin/hidpiTestProps.jvprops " + appArgs;
     Process proc = null;
     Worker worker = null;
     try
@@ -171,7 +171,7 @@ public class HiDPISettingTest2
 
     String jvmArgs = HiDPISetting.getScalePropertyArg(scale);
 
-    String appArgs = " -open examples/uniref50.fa -nosplash -nonews -noquestionnaire -nousagestats -nowebservicediscovery --debug";
+    String appArgs = " -open examples/uniref50.fa -nosplash -nonews -noquestionnaire -nousagestats -nowebservicediscovery";
 
     Worker worker = getJalviewDesktopRunner(jvmArgs, appArgs);
     assertNotNull(worker, "worker is null");