From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>
Cc: Sean Anderson <seanga2@gmail.com>
Subject: [PATCH 1/3] patman: Fix tests if add_maintainers is set to False
Date: Thu, 18 Apr 2024 22:36:30 -0400 [thread overview]
Message-ID: <20240419023632.29078-2-seanga2@gmail.com> (raw)
In-Reply-To: <20240419023632.29078-1-seanga2@gmail.com>
If add_maintainers is set to False in the user's ~/.patman config, it will
cause the custom_get_maintainer_script to fail since that test expects
maintainers to be added. Set add_maintainer to True in the .patman config
to prevent this.
Fixes: 8c042fb7f9f ("patman: add '--get-maintainer-script' argument")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
---
tools/patman/func_test.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index e3918497cf4..9c016fb5e9a 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -540,7 +540,8 @@ complicated as possible''')
with open('.patman', 'w', buffering=1) as f:
f.write('[settings]\n'
'get_maintainer_script: dummy-script.sh\n'
- 'check_patch: False\n')
+ 'check_patch: False\n'
+ 'add_maintainers: True\n')
with open('dummy-script.sh', 'w', buffering=1) as f:
f.write('#!/usr/bin/env python\n'
'print("hello@there.com")\n')
--
2.37.1
next prev parent reply other threads:[~2024-04-19 2:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 2:36 [PATCH 0/3] patman: A fix and some new tags Sean Anderson
2024-04-19 2:36 ` Sean Anderson [this message]
2024-07-01 13:57 ` [PATCH 1/3] patman: Fix tests if add_maintainers is set to False Simon Glass
2024-07-15 13:31 ` Simon Glass
2024-04-19 2:36 ` [PATCH 2/3] patman: Add Commit-cc as an alias for Patch-cc Sean Anderson
2024-07-01 13:57 ` Simon Glass
2024-07-15 13:31 ` Simon Glass
2024-04-19 2:36 ` [PATCH 3/3] patman: Add a tag for when a patch gets added to a series Sean Anderson
2024-04-29 16:49 ` Doug Anderson
2024-07-01 13:57 ` Simon Glass
2024-07-15 13:31 ` Simon Glass
2024-12-14 0:51 ` Doug Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240419023632.29078-2-seanga2@gmail.com \
--to=seanga2@gmail.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox