]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
contrib: sync dg-extract-results.py with GCC
authorSam James <sam@gentoo.org>
Mon, 11 Mar 2024 20:57:45 +0000 (20:57 +0000)
committerSam James <sam@gentoo.org>
Tue, 12 Mar 2024 15:49:23 +0000 (15:49 +0000)
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>
contrib/ChangeLog
contrib/dg-extract-results.py

index 87526afc7872fbdc3557086e8270c42565b4fcf0..369bcc5bee23a820e1076163166c59ad68f69ed5 100644 (file)
@@ -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.
index 30aa68771d491451f72d6dbd18f6d5ac339451b5..0fe3c5f15199dae2f9fd704d7f6efae42e81cf29 100644 (file)
@@ -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'