public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] contrib: sync dg-extract-results.py with GCC
@ 2024-03-12 15:49 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-03-12 15:49 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a02a739070ebec5f645b2c82f421d59521c830b6

commit a02a739070ebec5f645b2c82f421d59521c830b6
Author: Sam James <sam@gentoo.org>
Date:   Mon Mar 11 20:57:45 2024 +0000

    contrib: sync dg-extract-results.py with GCC
    
    This syncs dg-extract-results.py with GCC.
    
    It contains only one commit: r14-7145-g8f67953d0198fe.
    
    contrib/ChangeLog:
            * dg-extract-results.py: Sync with GCC.
    
    Approved-By: Tom Tromey <tom@tromey.com>

Diff:
---
 contrib/ChangeLog             | 4 ++++
 contrib/dg-extract-results.py | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 87526afc787..369bcc5bee2 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2024-03-11  Sam James  <sam@gentoo.org>
+
+	* dg-extract-results.py: Sync with GCC.
+
 2020-09-25  Simon Marchi  <simon.marchi@polymtl.ca>
 
 	* mklog.py: New file, imported from gcc.
diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py
index 30aa68771d4..0fe3c5f1519 100644
--- a/contrib/dg-extract-results.py
+++ b/contrib/dg-extract-results.py
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 #
-# Copyright (C) 2014 Free Software Foundation, Inc.
+# Copyright (C) 2014-2024 Free Software Foundation, Inc.
 #
 # This script is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -113,7 +113,8 @@ class Prog:
         # Whether to create .sum rather than .log output.
         self.do_sum = True
         # Regexps used while parsing.
-        self.test_run_re = re.compile (r'^Test Run By (\S+) on (.*)$')
+        self.test_run_re = re.compile (r'^Test run by (\S+) on (.*)$',
+                                       re.IGNORECASE)
         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'

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-12 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 15:49 [binutils-gdb] contrib: sync dg-extract-results.py with GCC Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).