Simon Marchi
dbbfabb441
gdbsupport: record and print failed selftest names
...
Since "maint selftest" now runs quite a lot of tests (especially in an
all-targets build), I thought it would be useful to print a summary at
the end of what failed. So, implement that.
Print the summary before the "Ran %d unit tests, %zu failed\n" line, so
that that one remains the last line, and the gdb.gdb/unittest.exp
doesn't need to be changed.
The output looks like (if I force a failure in a test):
(gdb) maint selftest
...
Running selftest value_copy.
Running selftest xml_escape_text.
Running selftest xml_escape_text_append.
Failures:
aarch64-analyze-prologue
Ran 4134 unit tests, 1 failed
(gdb)
Change-Id: If3aaabdd6f8078d0e6e50e8d08f3e558ab85277e
Approved-By: Tom Tromey <tom@tromey.com>
2023-11-03 14:25:59 -04:00
..
2023-01-01 17:01:16 +04:00
2020-03-05 15:59:22 +01:00
2022-01-13 10:25:45 +00:00
2020-10-31 08:30:57 -04:00
2023-02-14 09:01:18 -07:00
2023-02-14 09:01:18 -07:00
2023-01-01 17:01:16 +04:00
2023-06-05 12:53:15 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-09-11 06:15:52 +00:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2021-07-26 12:20:33 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-05 15:18:11 -05:00
2023-09-20 11:45:16 -06:00
2023-06-03 22:43:57 +02:00
2023-08-17 10:41:34 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-06-05 09:59:18 -06:00
2023-04-29 00:35:11 -07:00
2023-03-29 08:57:10 +01:00
2023-10-12 18:23:13 -06:00
2023-01-01 17:01:16 +04:00
2023-10-28 19:25:34 +00:00
2023-10-28 19:25:34 +00:00
2023-10-28 19:25:34 +00:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-08-17 10:41:34 +02:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-02-10 21:04:45 -05:00
2023-02-10 21:04:45 -05:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-09 16:32:00 -05:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-05-25 09:48:37 -04:00
2023-05-30 21:49:21 +01:00
2023-05-30 21:49:21 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-09 16:32:00 -05:00
2023-01-01 17:01:16 +04:00
2023-10-09 09:59:12 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-09-20 11:45:16 -06:00
2023-05-24 14:53:53 -04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-04-29 00:35:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-10-19 10:57:51 -04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-02-24 11:53:03 -07:00
2023-10-28 19:25:34 +00:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-09 16:32:00 -05:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-03-09 16:32:00 -05:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-08-17 10:41:34 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-09-15 10:36:15 -06:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-05-25 09:44:52 -04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-11-03 14:25:59 -04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-06-03 22:43:57 +02:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-02-09 07:21:52 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-08-28 14:18:19 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00