aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* validate_failures.py: fix python 3.12 escape sequence warningsGabi Falk2024-04-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | The warnings: contrib/testsuite-management/validate_failures.py:65: SyntaxWarning: invalid escape sequence '\s' _VALID_TEST_RESULTS_REX = re.compile('(%s):\s*(\S+)\s*(.*)' contrib/testsuite-management/validate_failures.py:77: SyntaxWarning: invalid escape sequence '\.' _EXP_LINE_REX = re.compile('^Running (?:.*:)?(.*) \.\.\.\n') contrib/ChangeLog: * testsuite-management/validate_failures.py: Change re.compile() function arguments to Python raw strings. Link: https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes Link: https://github.com/python/cpython/issues/98401 [sam: Pull in https://inbox.sourceware.org/gcc-patches/20240415233833.104460-1-gabifalk@gmx.com/.} [sam: Add bug reference to https://bugs.gentoo.org/929834] Bug: https://bugs.gentoo.org/929834 Signed-off-by: Gabi Falk <gabifalk@gmx.com> Signed-off-by: Sam James <sam@gentoo.org>
* scripts: import testsuite-management/validate_failures.py from GCCSam James2024-03-163-0/+843
Imported from GCC commit 53fb2cf75965e4dbcf145a12d8ae41f4667a8498. We want the latest version to use in ebuilds. Signed-off-by: Sam James <sam@gentoo.org>