зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1688026 - Enhance restrictions on what Fenix commits to test. r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D102632
This commit is contained in:
Родитель
2260b7c845
Коммит
cb32ea357c
|
@ -75,8 +75,16 @@ def before_iterations(kw):
|
|||
for revision in revisions:
|
||||
try:
|
||||
commit = fenix_repo.commit(revision)
|
||||
if "remotes/origin" not in str(commit.name_rev):
|
||||
print("Commit %s is a release-branch commit, it won't be tested.")
|
||||
name_rev = str(commit.name_rev)
|
||||
if (
|
||||
"remotes/origin" not in name_rev
|
||||
or "release" in name_rev
|
||||
or "tag" in name_rev
|
||||
):
|
||||
print(
|
||||
"Commit %s is a release-branch commit, it won't be tested."
|
||||
% revision
|
||||
)
|
||||
continue
|
||||
|
||||
commitdate = commit.committed_date
|
||||
|
|
Загрузка…
Ссылка в новой задаче