summaryrefslogtreecommitdiff
path: root/contrib/test_mklog.py
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-06-21 15:17:22 +0200
committerTobias Burnus <tobias@codesourcery.com>2021-06-21 15:17:45 +0200
commitedf0c3ffb59d75c11e05bc722432dc554e275c72 (patch)
treeff9d8e377cbeb0b16e22d2b3605c9629e559e231 /contrib/test_mklog.py
parent0ad9c7087ef3904da89f2db6007b6d28b116087f (diff)
downloadgcc-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-xcontrib/test_mklog.py3
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: