This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix result order in contrib/dg-extract-result.sh
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Janis Johnson <janis187 at us dot ibm dot com>
- Date: Tue, 02 Mar 2010 21:27:29 +0100
- Subject: PATCH: Fix result order in contrib/dg-extract-result.sh
When comparing testsuite results between a sequential and parallel make
-k check, I noticed the following difference between the outputs of make
mail-report.log:
=== g++ Summary for unix/-m64 ===
# of expected passes 21950
-# of unexpected failures 1
# of unexpected successes 3
+# of unexpected failures 1
# of expected failures 148
# of unsupported tests 343
=== gcc Summary for unix ===
# of expected passes 70032
-# of unexpected failures 27
# of unexpected successes 1
+# of unexpected failures 27
# of expected failures 167
# of unresolved testcases 1
# of unsupported tests 684
The following patch fixes this, installed as obvious.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
2010-02-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dg-extract-results.sh: Fix result order to match sequential case.
diff -r cdcb1e55b8d2 contrib/dg-extract-results.sh
--- a/contrib/dg-extract-results.sh Thu Feb 25 23:21:08 2010 +0100
+++ b/contrib/dg-extract-results.sh Fri Feb 26 00:24:05 2010 +0100
@@ -365,8 +365,8 @@
END {
printf ("\t\t=== %s Summary for %s ===\n\n", tool, variant)
if (passcnt != 0) printf ("# of expected passes\t\t%d\n", passcnt)
+ if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
- if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
if (xfailcnt != 0) printf ("# of expected failures\t\t%d\n", xfailcnt)
if (untstcnt != 0) printf ("# of untested testcases\t\t%d\n", untstcnt)
if (unrescnt != 0) printf ("# of unresolved testcases\t%d\n", unrescnt)