]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - contrib/gcc-changelog/test_email.py
Support DR entries for gcc-changelog.
[thirdparty/gcc.git] / contrib / gcc-changelog / test_email.py
index ce69c64c79e9bb9bdf1baba43a81c07a29644856..d522e6ef7e301e08edf13269b84f5943015c5502 100755 (executable)
@@ -272,3 +272,7 @@ class TestGccChangelog(unittest.TestCase):
         email = self.from_patch_glob('0001-Fortran-ProcPtr-function.patch')
         assert not email.errors
         assert len(email.changelog_entries[0].author_lines) == 1
+
+    def test_dr_entry(self):
+        email = self.from_patch_glob('0001-c-C-20-DR-2237.patch')
+        assert email.changelog_entries[0].prs == ['DR 2237']