aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-06 12:24:21 -0700
committerTom Tromey <tromey@redhat.com>2013-11-14 14:31:19 -0700
commit496038b324b44f110d4ef07829c983f748ee9003 (patch)
tree9760f184607c68cbf47e074c94cb80409dc28b63 /gdb
parentcafdd5697b0e6c1f6344caee64f798e7e72424d4 (diff)
downloadgdb-496038b324b44f110d4ef07829c983f748ee9003.zip
gdb-496038b324b44f110d4ef07829c983f748ee9003.tar.gz
gdb-496038b324b44f110d4ef07829c983f748ee9003.tar.bz2
print summary from "make check"
Pedro pointed out that it is handy for "make check" to print a summary of the results. This happens in the check-single case and also if you invoke runtest by hand. This patch implements the same thing for check-parallel. 2013-11-14 Tom Tromey <tromey@redhat.com> * Makefile.in (check-parallel): Print summary from gdb.sum.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/Makefile.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ed44b37..121fedb 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-14 Tom Tromey <tromey@redhat.com>
+
+ * Makefile.in (check-parallel): Print summary from gdb.sum.
+
2013-11-14 Omair Javaid <Omair.Javaid@linaro.org>
* gdb.dwarf2/dw2-case-insensitive-debug.S: Updated compile unit
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 93e9b5b..cdf9550 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -170,6 +170,7 @@ check-parallel:
`find outputs -name gdb.sum -print` > gdb.sum; \
$(SHELL) $(srcdir)/dg-extract-results.sh -L \
`find outputs -name gdb.log -print` > gdb.log
+ @sed -n '/=== gdb Summary ===/,$$ p' gdb.sum
# Turn a list of .exp files into "check/" targets. Only examine .exp
# files appearing in a gdb.* directory -- we don't want to pick up