TAB_WIDTH = 8
CO_AUTHORED_BY_PREFIX = 'co-authored-by: '
CHERRY_PICK_PREFIX = '(cherry picked from commit '
-REVIEWED_BY_PREFIX = 'reviewed-by: '
-REVIEWED_ON_PREFIX = 'reviewed-on: '
-SIGNED_OFF_BY_PREFIX = 'signed-off-by: '
-REVIEW_PREFIXES = (REVIEWED_BY_PREFIX, REVIEWED_ON_PREFIX,
- SIGNED_OFF_BY_PREFIX)
+REVIEW_PREFIXES = ('reviewed-by: ', 'reviewed-on: ', 'signed-off-by: ',
+ 'acked-by: ', 'tested-by: ', 'reported-by: ',
+ 'suggested-by: ')
class Error:
def test_additional_author_list(self):
email = self.from_patch_glob('0342')
- assert (email.errors[1].message == 'additional author must be indented '
- 'with one tab and four spaces')
+ msg = 'additional author must be indented ' \
+ 'with one tab and four spaces'
+ assert email.errors[1].message == msg
def test_trailing_whitespaces(self):
email = self.get_git_email('trailing-whitespaces.patch')
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-on: Keith Packard <keithp@keithp.com>
Co-Authored-by: Keith Packard <keithp@keithp.com>
+Acked-By: Keith Packard <keithp@keithp.com>
+Tested-by: Keith Packard <keithp@keithp.com>
+Reported-by: Keith Packard <keithp@keithp.com>
+Suggested-by: Keith Packard <keithp@keithp.com>
---
gcc/ChangeLog | 5 +++++
gcc/config/riscv/riscv.c | 40 ++++++++++++++++++++++++++++++++++++++++