Harmonize headers between both dg-extract-results scripts
The header of the python version looked like: Target is ... Host is ... The header of the bash version looked like: Test run by ... on ... Target is ... After this change both headers look like: Test run by ... on ... Target is ... Host is ... The order of the tests is not the same but since dg-cmp-results.sh it does not matter much. contrib/ChangeLog: * dg-extract-results.py: Print the "Test run" line. * dg-extract-results.sh: Print the "Host" line.
This commit is contained in:
parent
e40f330101
commit
346f599156
2 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ class Prog:
|
|||
# Whether to create .sum rather than .log output.
|
||||
self.do_sum = True
|
||||
# Regexps used while parsing.
|
||||
self.test_run_re = re.compile (r'^Test Run By (\S+) on (.*)$')
|
||||
self.test_run_re = re.compile (r'^Test run by (\S+) on (.*)$')
|
||||
self.tool_re = re.compile (r'^\t\t=== (.*) tests ===$')
|
||||
self.result_re = re.compile (r'^(PASS|XPASS|FAIL|XFAIL|UNRESOLVED'
|
||||
r'|WARNING|ERROR|UNSUPPORTED|UNTESTED'
|
||||
|
|
|
@ -271,7 +271,7 @@ cat $SUM_FILES \
|
|||
|
||||
# Write the begining of the combined summary file.
|
||||
|
||||
head -n 2 $FIRST_SUM
|
||||
head -n 3 $FIRST_SUM
|
||||
echo
|
||||
echo " === $TOOL tests ==="
|
||||
echo
|
||||
|
|
Loading…
Add table
Reference in a new issue