execStdout = stdout
execStderr = stderr
}
- def execArgs = [
+ // macOS not running properly with timeout arguments
+ def execArgs = macOS ? [] : [
+ "--timeout=${timeoutms}",
+ "--virtual-time-budget=${timeoutms}",
+ ]
+ execArgs += [
"--no-sandbox", // --no-sandbox IS USED BY THE THORIUM APPIMAGE ON THE BUILDSERVER
"--headless=new",
"--disable-gpu",
- "--timeout=${timeoutms}",
- "--virtual-time-budget=${timeoutms}",
"--user-data-dir=${jalviewDirAbsolutePath}/${jalviewjsBuildDir}/${jalviewjs_chromium_user_dir}",
"--profile-directory=${jalviewjs_chromium_profile_name}",
"--allow-file-access-from-files",
# for checking jalviewjs launches okay
jalviewjs_chromium_binary = ~/buildtools/chromium/chrome
-jalviewjs_macos_chromium_binary = /Applications/Chromium.app/Contents/MacOS/Chromium
+jalviewjs_macos_chromium_binary = ~/buildtools/chromium/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing
jalviewjs_chromium_user_dir = chromium
-jalviewjs_chromium_idle_timeout = 10
-jalviewjs_chromium_overall_timeout = 40
+jalviewjs_chromium_idle_timeout = 8
+jalviewjs_chromium_overall_timeout = 15
jalviewjs_chromium_profile_name = BUILD
jalviewjs_stderr_launch = utils/jalviewjs/chromium_test/jalview_bin_Jalview-stderr.html
jalviewjs_desktop_init_string = JALVIEWJS: CREATED DESKTOP
</head>
<body>
<script>
-// we define console.err because swingjs2.js calls it instead of console.error
-window.console.err = function() {
- this.error.apply(this,arguments);
-}
SwingJS.getApplet('testApplet', Info)
getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
</script>