summaryrefslogtreecommitdiff
path: root/tools/patman/func_test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-04-07 22:51:46 +1200
committerSimon Glass <sjg@chromium.org>2025-05-27 10:07:41 +0100
commitabfd67cccf8e1a4330ab9601813dd6675c84a9c5 (patch)
tree468867d3e193b8ff5d3254900c2f0dcf65f8341d /tools/patman/func_test.py
parente10201aa8ccb1fb681cafab4225399f4fdb8497d (diff)
patman: Pass aliases to Series.MakeCcFile()
Rather than accessing settings directly, pass the aliases in, so that we can do the same from tests. With further work this will allow the tests to work without using settings.alias Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r--tools/patman/func_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index b96bf7bd917..2a1731aeec9 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -253,7 +253,7 @@ class TestFunctional(unittest.TestCase):
series.DoChecks()
cc_file = series.MakeCcFile(process_tags, cover_fname,
not ignore_bad_tags, add_maintainers,
- None, get_maintainer_script)
+ None, get_maintainer_script, alias)
cmd = gitutil.email_patches(
series, cover_fname, args, dry_run, not ignore_bad_tags,
cc_file, alias, in_reply_to=in_reply_to, thread=None)