mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 06:38:07 +02:00
Merge pull request #19117 from Snuffleupagus/bot-forceNoChrome
Disable the browser-tests in Google Chrome on the bots
This commit is contained in:
commit
867aaf01fa
3 changed files with 8 additions and 21 deletions
19
gulpfile.mjs
19
gulpfile.mjs
|
@ -686,12 +686,9 @@ function runTests(testsName, { bot = false, xfaOnly = false } = {}) {
|
|||
if (!bot) {
|
||||
args.push("--reftest");
|
||||
} else {
|
||||
const os = process.env.OS;
|
||||
if (/windows/i.test(os)) {
|
||||
// The browser-tests are too slow in Google Chrome on the Windows
|
||||
// bot, causing a timeout, hence disabling them for now.
|
||||
forceNoChrome = true;
|
||||
}
|
||||
// The browser-tests are too slow in Google Chrome on the bots,
|
||||
// causing a timeout, hence disabling them for now.
|
||||
forceNoChrome = true;
|
||||
}
|
||||
if (xfaOnly) {
|
||||
args.push("--xfaOnly");
|
||||
|
@ -770,12 +767,10 @@ function makeRef(done, bot) {
|
|||
let forceNoChrome = false;
|
||||
const args = ["test.mjs", "--masterMode"];
|
||||
if (bot) {
|
||||
const os = process.env.OS;
|
||||
if (/windows/i.test(os)) {
|
||||
// The browser-tests are too slow in Google Chrome on the Windows
|
||||
// bot, causing a timeout, hence disabling them for now.
|
||||
forceNoChrome = true;
|
||||
}
|
||||
// The browser-tests are too slow in Google Chrome on the bots,
|
||||
// causing a timeout, hence disabling them for now.
|
||||
forceNoChrome = true;
|
||||
|
||||
args.push("--noPrompts", "--strictVerify");
|
||||
}
|
||||
if (process.argv.includes("--noChrome") || forceNoChrome) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue