diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-06-21 15:17:22 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-06-21 15:17:45 +0200 |
commit | edf0c3ffb59d75c11e05bc722432dc554e275c72 (patch) | |
tree | ff9d8e377cbeb0b16e22d2b3605c9629e559e231 /contrib/test_mklog.py | |
parent | 0ad9c7087ef3904da89f2db6007b6d28b116087f (diff) | |
download | gcc-edf0c3ffb59d75c11e05bc722432dc554e275c72.tar.gz |
contrib/mklog.py: Improve PR handling
Co-authored-by: Martin Sebor <msebor@redhat.com>
contrib/ChangeLog:
* mklog.py (bugzilla_url): Fetch also component.
(pr_filename_regex): New.
(get_pr_titles): Update PR string with correct format and component.
(generate_changelog): Take additional PRs; extract PR from the
filename.
(__main__): Add -b/--pr-numbers argument.
* test_mklog.py (EXPECTED4): Update to expect a PR for the new file.
Diffstat (limited to 'contrib/test_mklog.py')
-rwxr-xr-x | contrib/test_mklog.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/test_mklog.py b/contrib/test_mklog.py index a0670dac119..f5e9ecd577c 100755 --- a/contrib/test_mklog.py +++ b/contrib/test_mklog.py @@ -240,6 +240,9 @@ index 4ad78c1f77b..6687b368038 100644 ''' EXPECTED4 = '''\ + + PR 50209 + gcc/ChangeLog: * ipa-icf.c: |