mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 979936 - delete unused `quiet' param-handling code in setup.js; r=jmaher
This commit is contained in:
parent
55d21df2d1
commit
0b41e38db5
@ -1,4 +1,4 @@
|
|||||||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
/* -*- js-indent-level: 2; tab-width: 2; indent-tabs-mode: nil -*- */
|
||||||
/* vim:set ts=2 sw=2 sts=2 et: */
|
/* vim:set ts=2 sw=2 sts=2 et: */
|
||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
@ -118,14 +118,6 @@ if (params.logFile) {
|
|||||||
TestRunner.logger.addListener("mozLogger", fileLevel + "", spl.getLogCallback());
|
TestRunner.logger.addListener("mozLogger", fileLevel + "", spl.getLogCallback());
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we get a quiet param, don't log to the console
|
|
||||||
if (!params.quiet) {
|
|
||||||
function dumpListener(msg) {
|
|
||||||
dump(msg.num + " " + msg.level + " " + msg.info.join(' ') + "\n");
|
|
||||||
}
|
|
||||||
TestRunner.logger.addListener("dumpListener", consoleLevel + "", dumpListener);
|
|
||||||
}
|
|
||||||
|
|
||||||
// A temporary hack for android 4.0 where Fennec utilizes the pandaboard so much it reboots
|
// A temporary hack for android 4.0 where Fennec utilizes the pandaboard so much it reboots
|
||||||
if (params.runSlower) {
|
if (params.runSlower) {
|
||||||
TestRunner.runSlower = true;
|
TestRunner.runSlower = true;
|
||||||
@ -143,6 +135,11 @@ if (params.dumpDMDAfterTest) {
|
|||||||
TestRunner.dumpDMDAfterTest = true;
|
TestRunner.dumpDMDAfterTest = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Log things to the console if appropriate.
|
||||||
|
TestRunner.logger.addListener("dumpListener", consoleLevel + "", function(msg) {
|
||||||
|
dump(msg.num + " " + msg.level + " " + msg.info.join(' ') + "\n");
|
||||||
|
});
|
||||||
|
|
||||||
var gTestList = [];
|
var gTestList = [];
|
||||||
var RunSet = {}
|
var RunSet = {}
|
||||||
RunSet.runall = function(e) {
|
RunSet.runall = function(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user