зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1276915 - Override all test cycles when profiling; r=jmaher
MozReview-Commit-ID: 86cL0OMhL3a --HG-- extra : rebase_source : 69601e9b329b02331406b1a15429920f1326c066
This commit is contained in:
Родитель
cb71d8fa20
Коммит
a867555f71
|
@ -47,6 +47,14 @@ def buildCommandLine(test):
|
||||||
if 'tpmanifest' not in test:
|
if 'tpmanifest' not in test:
|
||||||
raise TalosError("tpmanifest not found in test: %s" % test)
|
raise TalosError("tpmanifest not found in test: %s" % test)
|
||||||
|
|
||||||
|
# if profiling is on, override tppagecycles to prevent test hanging
|
||||||
|
if test['sps_profile']:
|
||||||
|
LOG.info("sps profiling is enabled so talos is reducing the number "
|
||||||
|
"of cycles, please disregard reported numbers")
|
||||||
|
for cycle_var in ['tppagecycles', 'tpcycles', 'cycles']:
|
||||||
|
if test[cycle_var] > 2:
|
||||||
|
test[cycle_var] = 2
|
||||||
|
|
||||||
# build pageloader command from options
|
# build pageloader command from options
|
||||||
url = ['-tp', test['tpmanifest']]
|
url = ['-tp', test['tpmanifest']]
|
||||||
CLI_bool_options = ['tpchrome', 'tpmozafterpaint', 'tpdisable_e10s',
|
CLI_bool_options = ['tpchrome', 'tpmozafterpaint', 'tpdisable_e10s',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче