зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset f42923db714b (bug 1401207)
This commit is contained in:
Родитель
969093dc7f
Коммит
8191501d4d
|
@ -68,8 +68,6 @@ def create_parser(mach_interface=False):
|
|||
help="List of tests to run, separated by ':' (ex. damp:cart)")
|
||||
add_arg('--suite',
|
||||
help="Suite to use (instead of --activeTests)")
|
||||
add_arg('--subtests',
|
||||
help="Name of the subtest(s) to run (works only on DAMP)")
|
||||
add_arg('--disable-e10s', dest='e10s',
|
||||
action='store_false', default=True,
|
||||
help="disable e10s")
|
||||
|
|
|
@ -451,7 +451,6 @@ def get_browser_config(config):
|
|||
'enable_stylo': False,
|
||||
'disable_stylo': False,
|
||||
'stylothreads': 0,
|
||||
'subtests': None,
|
||||
}
|
||||
browser_config = dict(title=config['title'])
|
||||
browser_config.update(dict([(i, config[i]) for i in required]))
|
||||
|
|
|
@ -125,10 +125,6 @@ def run_tests(config, browser_config):
|
|||
LOG.info("Using firstNonBlankPaint, so turning on pref for it")
|
||||
browser_config['preferences']['dom.performance.time_to_non_blank_paint.enabled'] = True
|
||||
|
||||
# Pass subtests filter argument via a preference
|
||||
if browser_config['subtests']:
|
||||
browser_config['preferences']['talos.subtests'] = browser_config['subtests']
|
||||
|
||||
# set defaults
|
||||
testdate = config.get('testdate', '')
|
||||
|
||||
|
|
|
@ -675,25 +675,6 @@ Damp.prototype = {
|
|||
tests["console.streamlog"] = this._consoleStreamLoggingTest;
|
||||
tests["console.objectexpand"] = this._consoleObjectExpansionTest;
|
||||
|
||||
// Filter tests via `./mach --subtests filter` command line argument
|
||||
let filter;
|
||||
try {
|
||||
filter = Services.prefs.getCharPref("talos.subtests");
|
||||
} catch(e) {}
|
||||
|
||||
if (filter) {
|
||||
for(let name in tests) {
|
||||
if (!name.includes(filter)) {
|
||||
delete tests[name];
|
||||
}
|
||||
}
|
||||
if (Object.keys(tests).length == 0) {
|
||||
dump("ERROR: Unable to find any test matching '" + filter + "'\n");
|
||||
this._doneInternal();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Construct the sequence array while filtering tests
|
||||
let sequenceArray = [];
|
||||
for (var i in config.subtests) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче