diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-10-21 13:41:29 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@gcc.gnu.org> | 2019-10-21 13:41:29 +0100 |
commit | aa7710cb6c2f019760fcafd37a8ab99ac897fa2b (patch) | |
tree | 2b7cfa828133e6ecb1596445e620ef9431c3c1ec /contrib/dg-extract-results.py | |
parent | 30c0d1e3cf8b03992e08cfd00ccf1fcb638d3c03 (diff) | |
download | gcc-aa7710cb6c2f019760fcafd37a8ab99ac897fa2b.zip gcc-aa7710cb6c2f019760fcafd37a8ab99ac897fa2b.tar.gz gcc-aa7710cb6c2f019760fcafd37a8ab99ac897fa2b.tar.bz2 |
contrib: Add KPASS support to dg-extract-results.{sh,py}
Extend dg-extract-results.sh and dg-extract-results.py to support the
KPASS test result status. This is required by GDB which uses a copy
of the dg-extract-results.{sh,py} scripts that it tries to keep in
sync with GCC.
ChangeLog:
* contrib/dg-extract-results.sh: Add support for KPASS.
* contrib/dg-extract-results.py: Likewise.
From-SVN: r277260
Diffstat (limited to 'contrib/dg-extract-results.py')
-rw-r--r-- | contrib/dg-extract-results.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py index 4e113a8..7100794 100644 --- a/contrib/dg-extract-results.py +++ b/contrib/dg-extract-results.py @@ -117,7 +117,7 @@ class Prog: self.tool_re = re.compile (r'^\t\t=== (.*) tests ===$') self.result_re = re.compile (r'^(PASS|XPASS|FAIL|XFAIL|UNRESOLVED' r'|WARNING|ERROR|UNSUPPORTED|UNTESTED' - r'|KFAIL):\s*(.+)') + r'|KFAIL|KPASS):\s*(.+)') self.completed_re = re.compile (r'.* completed at (.*)') # Pieces of text to write at the head of the output. # start_line is a pair in which the first element is a datetime |