X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=8ac2757486bf6b02a5a37a69cb2c94b1736f6320;hb=392aeaa68319b64e79341c20be627455a96d6645;hp=673cec5b4da7e6c62e11032836838504aac0e3fd;hpb=5f7b889ee04f8bae65c785c9cebc04d29e0811d5;p=jalview.git diff --git a/build.gradle b/build.gradle index 673cec5..8ac2757 100644 --- a/build.gradle +++ b/build.gradle @@ -1783,6 +1783,27 @@ task testTask1(type: Test) { } } +task testTask2(type: Test) { + group = "Verification" + description = "Tests that need to be isolated from the main test run" + useTestNG() { + includeGroups name + excludeGroups testng_excluded_groups.split(",") + preserveOrder true + useDefaultListeners=true + } +} +task testTask3(type: Test) { + group = "Verification" + description = "Tests that need to be isolated from the main test run" + useTestNG() { + includeGroups name + excludeGroups testng_excluded_groups.split(",") + preserveOrder true + useDefaultListeners=true + } +} + /* insert more testTaskNs here -- change N to next digit or other string */ /* task testTaskN(type: Test) { @@ -4260,7 +4281,7 @@ task jalviewjsLaunchTest { def stdout def stderr doFirst { - def timeoutms = Integer.valueOf(jalviewjs_chromium_timeout) * 1000 + def timeoutms = Integer.valueOf(jalviewjs_chromium_overall_timeout) * 1000 def binary = file(chromiumBinary) if (!binary.exists()) { @@ -4303,6 +4324,7 @@ task jalviewjsLaunchTest { errorOutput = execStderr executable(chromiumBinary) args(execArgs) + println "COMMAND: '"+commandLine.join(" ")+"'" } executor.shutdownNow() } @@ -4320,7 +4342,7 @@ task jalviewjsLaunchTest { executor.shutdownNow() } // if no change in stderr for 10s then also end - if (noChangeIterations >= 10) { + if (noChangeIterations >= jalviewjs_chromium_idle_timeout) { executor.shutdownNow() } if (stderrString.length() == noChangeBytes) {