Lines Matching refs:email

78         email = self.get_git_email('0577-aarch64-Add-an-and.patch')
79 assert not email.errors
80 assert len(email.changelog_entries) == 2
81 entry = email.changelog_entries[0]
94 email = self.get_git_email('0085-Daily-bump.patch')
95 assert not email.errors
96 assert not email.changelog_entries
99 email = self.from_patch_glob('0040')
100 assert len(email.changelog_entries) == 2
101 assert email.changelog_entries[0].folder == 'gcc/cp'
102 assert email.changelog_entries[0].prs == ['PR c++/90916']
103 assert email.changelog_entries[0].files == ['pt.c']
105 assert email.changelog_entries[1].folder == 'gcc/testsuite'
108 email = self.from_patch_glob('0129')
109 assert not email.errors
110 assert not email.changelog_entries
113 email = self.from_patch_glob('0096')
114 assert email.errors
115 err = email.errors[0]
123 email = self.from_patch_glob('0031')
124 assert len(email.errors) == 2
125 err = email.errors[0]
131 email = self.from_patch_glob('0184')
132 assert len(email.errors) == 4
133 assert email.errors[0].line == 'gcc/c-family/c-cppbuiltins.c'
134 assert email.errors[2].line == 'gcc/c-family/c-cppbuiltin.c'
137 email = self.from_patch_glob('0334')
138 assert len(email.errors) == 1
139 assert len(email.changelog_entries) == 1
140 assert email.changelog_entries[0].folder is None
143 email = self.from_patch_glob('0814')
144 assert not email.errors
145 assert (email.changelog_entries[0].author_lines ==
149 email = self.from_patch_glob('0735')
150 assert len(email.changelog_entries) == 1
151 entry = email.changelog_entries[0]
158 email = self.from_patch_glob('1699')
159 assert len(email.changelog_entries) == 2
160 assert len(email.changelog_entries[0].prs) == 2
163 email = self.from_patch_glob('0735')
164 assert len(email.errors) == 1
165 assert email.errors[0].message == 'missing PR component'
168 email = self.from_patch_glob('0198')
169 assert len(email.errors) == 1
170 assert email.errors[0].message == 'invalid PR component'
173 email = self.from_patch_glob('0342')
176 assert email.errors[1].message == msg
179 email = self.get_git_email('trailing-whitespaces.patch')
180 assert len(email.errors) == 3
183 email = self.from_patch_glob('1999')
184 assert len(email.errors) == 1
185 assert email.errors[0].message == 'one space should follow asterisk'
188 email = self.get_git_email('long-lines.patch')
189 assert len(email.errors) == 1
190 assert email.errors[0].message == 'line exceeds 100 character limit'
193 email = self.from_patch_glob('0030')
194 assert not email.errors
197 email = self.from_patch_glob('0043')
198 assert len(email.errors) == 2
199 assert (email.errors[0].message ==
203 email = self.from_patch_glob('1975')
204 assert len(email.changelog_entries) == 2
205 assert len(email.changelog_entries[0].author_lines) == 1
206 assert len(email.changelog_entries[1].author_lines) == 1
209 email = self.from_patch_glob('0413')
210 assert len(email.errors) == 1
213 email = self.from_patch_glob('1850')
214 assert email.co_authors == ['Jakub Jelinek <jakub@redhat.com>']
215 output_entries = list(email.to_changelog_entries())
223 email = self.get_git_email('co-authored-by.patch')
224 assert len(email.co_authors) == 3
225 assert email.co_authors[0] == 'Jakub Jelinek <jakub@redhat.com>'
226 assert email.co_authors[1] == 'John Miller <jm@example.com>'
227 assert email.co_authors[2] == 'John Miller2 <jm2@example.com>'
230 email = self.from_patch_glob('1957')
231 output_entries = list(email.to_changelog_entries())
236 assert email.changelog_entries[1].prs == ['PR c++/94546']
239 email = self.from_patch_glob('2004')
240 assert not email.errors
241 assert email.changelog_entries[0].prs == ['PR other/94629']
244 email = self.get_git_email('pr-check1.patch')
245 assert not email.errors
246 assert email.changelog_entries[0].prs == ['PR ipa/12345']
247 assert email.changelog_entries[1].prs == []
250 email = self.from_patch_glob('0002-Add-patch_are')
251 assert not email.errors
252 assert email.changelog_entries[0].prs == ['PR target/93492']
253 assert email.changelog_entries[1].prs == ['PR target/12345']
254 assert email.changelog_entries[2].prs == []
255 assert email.changelog_entries[2].folder == 'gcc/testsuite'
258 email = self.from_patch_glob('0001-Add-patch_are')
261 assert email.errors[0].message.startswith(msg)
264 email = self.get_git_email('0001-Just-test-it.patch')
265 assert not email.errors
268 email = self.get_git_email('0002-Bump-date.patch')
269 assert not email.errors
272 email = self.from_patch_glob('0020-IPA-Avoid')
274 assert (email.errors[0].message == msg)
277 email = self.from_patch_glob('0001-c-Alias.patch')
278 assert not email.errors
281 email = self.from_patch_glob('0001-RISC-V-Make-unique.patch')
282 assert not email.errors
283 assert len(email.changelog_entries) == 1
286 email = self.from_patch_glob('0001-Fortran-ProcPtr-function.patch')
287 assert not email.errors
288 assert len(email.changelog_entries[0].author_lines) == 1
291 email = self.from_patch_glob('0001-c-C-20-DR-2237.patch')
292 assert email.changelog_entries[0].prs == ['DR 2237']
295 email = self.from_patch_glob('0001-go-in-ignored-location.patch')
296 assert not email.errors
299 email = self.from_patch_glob('0001-Update-merge.sh-to-reflect.patch')
300 assert (email.changelog_entries[0].lines[0]
304 email = self.from_patch_glob(
306 assert (email.changelog_entries[0].files
315 email = self.from_patch_glob(
317 assert not email.errors
320 email = self.from_patch_glob('0001-Fortran-type-is-real-kind-1.patch')
321 assert (email.changelog_entries[0].author_lines[0][0]
323 assert (email.changelog_entries[0].author_lines[1][0]
327 email = self.from_patch_glob('0001-Missing-change-description.patch')
328 assert len(email.errors) == 2
329 assert email.errors[0].message == 'missing description of a change'
330 assert email.errors[1].message == 'missing description of a change'
333 email = self.from_patch_glob('0001-Fix-text-of-hyperlink')
334 assert not email.errors
335 email = self.from_patch_glob('0002-libstdc-Fake-test-change-1.patch')
336 assert len(email.errors) == 1
338 assert email.errors[0].message == msg
339 assert email.errors[0].line == 'libstdc++-v3/doc/html/'
340 email = self.from_patch_glob('0003-libstdc-Fake-test-change-2.patch')
341 assert len(email.errors) == 1
343 assert email.errors[0].message == msg
346 email = self.from_patch_glob('0001-configure.patch')
347 assert not email.errors
348 assert len(email.changelog_entries) == 2
357 email = self.from_patch_glob('0001-asan-fix-RTX-emission.patch')
358 assert not email.errors
360 assert email.cherry_pick_commit == expected_hash
361 assert len(email.changelog_entries) == 1
362 entry = list(email.to_changelog_entries())[0][1]
369 email = self.from_patch_glob('double-cherry-pick.patch')
370 assert email.errors[0].message.startswith('multiple cherry pick lines')
373 email = self.from_patch_glob('0001-Check-for-more-missing')
374 assert not email.errors
377 email = self.from_patch_glob('0001-tree-optimization-97633-fix')
378 assert len(email.errors) == 1
379 assert email.errors[0].message == 'empty group "()" found'
382 email = self.from_patch_glob('0001-c-Set-CALL_FROM_NEW_OR')
383 assert len(email.errors) == 1
384 assert email.errors[0].message == 'missing description of a change'
387 email = self.from_patch_glob('0001-lto-fix-LTO-debug')
388 assert not email.errors
389 assert len(email.changelog_entries) == 1
392 email = self.from_patch_glob('0001-Wildcard-subdirs.patch')
393 assert len(email.changelog_entries) == 1
394 err = email.errors[0]
399 email = self.from_patch_glob('0001-Add-horse.patch')
400 assert not email.errors
403 email = self.from_patch_glob('0001-Add-horse2.patch')
404 assert not email.errors
405 assert email.changelog_entries[0].files == ['koníček.txt']
408 email = self.from_patch_glob('0001-fix-old-ChangeLog.patch')
409 assert not email.errors
412 email = self.from_patch_glob('0001-Add-macro.patch')
413 assert not email.errors
416 email = self.from_patch_glob('0002-Wrong-macro-changelog.patch')
417 assert email.errors[0].message == 'bad parentheses wrapping'
418 assert email.errors[0].line == ' * config/i386/i386.md (*fix_trunc<mode>_i387_1,'
421 email = self.from_patch_glob('0001-ChangeLog-removal.patch')
422 assert not email.errors
425 email = self.from_patch_glob('0001-long-filenames')
426 assert not email.errors
429 email = self.from_patch_glob('0001-OpenMP-Fix-SIMT')
430 assert email.errors[0].message == 'same file specified multiple times'
433 email = self.from_patch_glob('0001-rs6000-Support-doubleword')
434 assert (email.errors[0].message ==
438 email = self.from_patch_glob('pr-wrong-comp.patch')
439 assert email.errors[0].message == 'invalid PR component in subject'
442 email = self.from_patch_glob('copyright-years.patch')
443 assert not email.errors
446 email = self.from_patch_glob('non-ascii-email.patch')
447 assert (email.errors[0].message ==