* [PATCH] gdb: Remove duplicate "gdb Summary" in the test output
@ 2022-06-25 3:31 Tiezhu Yang
2022-07-15 16:34 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Tiezhu Yang @ 2022-06-25 3:31 UTC (permalink / raw)
To: gdb-patches
There exists duplicate "gdb Summary" in the test output, just modify
gdb/testsuite/Makefile.in to remove the redundant info.
Here is an example, when execute the following command:
make check-gdb TESTS="gdb.base/a2-run.exp"
we can see the following info in the output:
Running /home/loongson/gdb.git/gdb/testsuite/gdb.base/a2-run.exp ...
=== gdb Summary ===
# of expected passes 9
/home/loongson/build.git/gdb/gdb version 13.0.50.20220625-git ...
=== gdb Summary ===
# of expected passes 9
/home/loongson/build.git/gdb/gdb version 13.0.50.20220625-git ...
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
gdb/testsuite/Makefile.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 87ba522..aa0c00f 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -212,7 +212,6 @@ check-single:
$(DO_RUNTEST) $(RUNTESTFLAGS) $(expanded_tests_or_none) $(TIMESTAMP); \
result=$$?; \
$(SHELL) $(srcdir)/lib/dg-add-core-file-count.sh; \
- sed -n '/=== gdb Summary ===/,$$ p' gdb.sum; \
exit $$result
check-single-racy:
--
2.1.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gdb: Remove duplicate "gdb Summary" in the test output
2022-06-25 3:31 [PATCH] gdb: Remove duplicate "gdb Summary" in the test output Tiezhu Yang
@ 2022-07-15 16:34 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2022-07-15 16:34 UTC (permalink / raw)
To: Tiezhu Yang; +Cc: gdb-patches
>>>>> Tiezhu Yang <yangtiezhu@loongson.cn> writes:
> There exists duplicate "gdb Summary" in the test output, just modify
> gdb/testsuite/Makefile.in to remove the redundant info.
> Here is an example, when execute the following command:
> make check-gdb TESTS="gdb.base/a2-run.exp"
I think what's happening here is that the "Summary" line is added for
the benefit of parallel "make check". However, in your case, you're
only running a single test. But, if you run many tests, I think the
output won't look redundant. So, I tend to think it should just remain
the way it is.
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-15 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25 3:31 [PATCH] gdb: Remove duplicate "gdb Summary" in the test output Tiezhu Yang
2022-07-15 16:34 ` Tom Tromey
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).