JAL-629 better test fixes. --props=... instead of --debug
[jalview.git] / test / jalview / util / Log4jTest.java
index 8f23ae5..bdd1833 100644 (file)
@@ -125,7 +125,7 @@ public class Log4jTest
     String classpath = getClassPath();
     String cmd = java_exe + " " + " -classpath " + classpath + " "
             + " jalview.bin.Jalview " + " "
-            + "-props test/jalview/util/log4jTestProps.jvprops " + appArgs;
+            + "--props=test/jalview/util/log4jTestProps.jvprops " + appArgs;
     Process proc = null;
     Worker worker = null;
     try
@@ -158,7 +158,7 @@ public class Log4jTest
   @Test(groups = { "Functional" })
   public void testLog4j()
   {
-    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(appArgs);
     assertNotNull(worker, "worker is null");