Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a0806f33
Commit
a0806f33
authored
Apr 06, 2012
by
Doug Evans
Committed by
Doug Evans
Apr 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dg-extract-results.sh: Handle KFAILs.
From-SVN: r186200
parent
631cfe30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
contrib/ChangeLog
+4
-0
contrib/dg-extract-results.sh
+7
-3
No files found.
contrib/ChangeLog
View file @
a0806f33
2012
-
04
-
06
Doug
Evans
<
dje
@google
.
com
>
*
dg
-
extract
-
results
.
sh
:
Handle
KFAILs
.
2012
-
03
-
14
Rainer
Orth
<
ro
@CeBiTec
.
Uni
-
Bielefeld
.
DE
>
*
config
-
list
.
mk
(
LIST
)
:
Remove
mips
-
sgi
-
irix6
.
5
.
...
...
contrib/dg-extract-results.sh
View file @
a0806f33
...
...
@@ -6,7 +6,7 @@
# The resulting file can be used with test result comparison scripts for
# results from tests that were run in parallel. See usage() below.
# Copyright (C) 2008, 2009, 2010 Free Software Foundation
# Copyright (C) 2008, 2009, 2010
, 2012
Free Software Foundation
# Contributed by Janis Johnson <janis187@us.ibm.com>
#
# This file is part of GCC.
...
...
@@ -345,7 +345,7 @@ EOF
BEGIN {
variant="
$VAR
"
tool="
$TOOL
"
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; unsupcnt=0; unrescnt=0;
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0;
kfailcnt=0;
unsupcnt=0; unrescnt=0;
curvar=""; insummary=0
}
/^Running target / { curvar = \
$3
; next }
...
...
@@ -354,6 +354,7 @@ BEGIN {
/^# of unexpected successes/ { if (insummary == 1) xpasscnt += \
$5
; next; }
/^# of unexpected failures/ { if (insummary == 1) failcnt += \
$5
; next; }
/^# of expected failures/ { if (insummary == 1) xfailcnt += \
$5
; next; }
/^# of known failures/ { if (insummary == 1) kfailcnt += \
$5
; next; }
/^# of untested testcases/ { if (insummary == 1) untstcnt += \
$5
; next; }
/^# of unresolved testcases/ { if (insummary == 1) unrescnt += \
$5
; next; }
/^# of unsupported tests/ { if (insummary == 1) unsupcnt += \
$5
; next; }
...
...
@@ -368,6 +369,7 @@ END {
if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
if (xfailcnt != 0) printf ("# of expected failures\t\t%d\n", xfailcnt)
if (kfailcnt != 0) printf ("# of known failures\t\t%d\n", kfailcnt)
if (untstcnt != 0) printf ("# of untested testcases\t\t%d\n", untstcnt)
if (unrescnt != 0) printf ("# of unresolved testcases\t%d\n", unrescnt)
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
...
...
@@ -391,12 +393,13 @@ TOTAL_AWK=${TMP}/total.awk
cat
<<
EOF
>
$TOTAL_AWK
BEGIN {
tool="
$TOOL
"
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0; unsupcnt=0; unrescnt=0
passcnt=0; failcnt=0; untstcnt=0; xpasscnt=0; xfailcnt=0;
kfailcnt=0;
unsupcnt=0; unrescnt=0
}
/^# of expected passes/ { passcnt += \
$5
}
/^# of unexpected failures/ { failcnt += \
$5
}
/^# of unexpected successes/ { xpasscnt += \
$5
}
/^# of expected failures/ { xfailcnt += \
$5
}
/^# of known failures/ { kfailcnt += \
$5
}
/^# of untested testcases/ { untstcnt += \
$5
}
/^# of unresolved testcases/ { unrescnt += \
$5
}
/^# of unsupported tests/ { unsupcnt += \
$5
}
...
...
@@ -406,6 +409,7 @@ END {
if (failcnt != 0) printf ("# of unexpected failures\t%d\n", failcnt)
if (xpasscnt != 0) printf ("# of unexpected successes\t%d\n", xpasscnt)
if (xfailcnt != 0) printf ("# of expected failures\t\t%d\n", xfailcnt)
if (kfailcnt != 0) printf ("# of known failures\t\t%d\n", kfailcnt)
if (untstcnt != 0) printf ("# of untested testcases\t\t%d\n", untstcnt)
if (unrescnt != 0) printf ("# of unresolved testcases\t%d\n", unrescnt)
if (unsupcnt != 0) printf ("# of unsupported tests\t\t%d\n", unsupcnt)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment