JAL-4222 --quit kills the test suite prematurely, so remove --gui instead
authorJames Procter <j.procter@dundee.ac.uk>
Mon, 10 Jul 2023 10:49:27 +0000 (11:49 +0100)
committerJames Procter <j.procter@dundee.ac.uk>
Mon, 10 Jul 2023 10:49:37 +0000 (11:49 +0100)
test/jalview/bin/CommandsTest.java

index a1c4cf1..bad28f7 100644 (file)
@@ -198,8 +198,8 @@ public class CommandsTest
   public Object[][] structureImageOutputFiles()
   {
     return new Object[][] {
-        //
-        { "--gui --nonews --nosplash --open=./examples/test_fab41.result/sample.a2m "
+        // JAL-4222 only do this headless - with --gui Jalview stays open...
+        { "--nonews --nosplash --open=./examples/test_fab41.result/sample.a2m "
                 + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_1_model_3.pdb "
                 + "--structureimage=" + testfiles + "/structureimage1.png "
                 + "--open=./examples/test_fab41.result/sample.a2m "
@@ -209,8 +209,7 @@ public class CommandsTest
                 + "--open=./examples/test_fab41.result/sample.a2m "
                 + "--structure=./examples/test_fab41.result/test_fab41_unrelaxed_rank_1_model_3.pdb "
                 + "--structureimage=" + testfiles
-                + "/structureimage3.png --structureimagescale=2.0 "
-                + "--quit",
+                + "/structureimage3.png --structureimagescale=2.0",
             new String[]
             { testfiles + "/structureimage1.png",
                 testfiles + "/structureimage2.png",