Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
0732905c
Commit
0732905c
authored
Jul 04, 2013
by
Roman Donchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xls-report.py: write tests in sorted order
parent
ea054e28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
xls-report.py
modules/ts/misc/xls-report.py
+2
-3
No files found.
modules/ts/misc/xls-report.py
View file @
0732905c
...
@@ -81,7 +81,6 @@ import os, os.path
...
@@ -81,7 +81,6 @@ import os, os.path
import
re
import
re
from
argparse
import
ArgumentParser
from
argparse
import
ArgumentParser
from
collections
import
OrderedDict
from
glob
import
glob
from
glob
import
glob
from
itertools
import
ifilter
from
itertools
import
ifilter
...
@@ -160,7 +159,7 @@ class Collector(object):
...
@@ -160,7 +159,7 @@ class Collector(object):
if
configuration
is
None
:
return
if
configuration
is
None
:
return
module_tests
=
self
.
tests
.
setdefault
(
module
,
OrderedDict
()
)
module_tests
=
self
.
tests
.
setdefault
(
module
,
{}
)
for
test
in
run
.
tests
:
for
test
in
run
.
tests
:
test_results
=
module_tests
.
setdefault
((
test
.
shortName
(),
test
.
param
()),
{})
test_results
=
module_tests
.
setdefault
((
test
.
shortName
(),
test
.
param
()),
{})
...
@@ -250,7 +249,7 @@ def main():
...
@@ -250,7 +249,7 @@ def main():
for
module
,
color
in
module_colors
.
iteritems
()}
for
module
,
color
in
module_colors
.
iteritems
()}
for
module
,
tests
in
sorted
(
collector
.
tests
.
iteritems
()):
for
module
,
tests
in
sorted
(
collector
.
tests
.
iteritems
()):
for
((
test
,
param
),
configs
)
in
tests
.
iteritems
(
):
for
((
test
,
param
),
configs
)
in
sorted
(
tests
.
iteritems
()
):
sheet
.
write
(
row
,
0
,
module
,
module_styles
.
get
(
module
,
xlwt
.
Style
.
default_style
))
sheet
.
write
(
row
,
0
,
module
,
module_styles
.
get
(
module
,
xlwt
.
Style
.
default_style
))
sheet
.
write
(
row
,
1
,
test
)
sheet
.
write
(
row
,
1
,
test
)
...
...
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