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
e9901306
Commit
e9901306
authored
Jan 06, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed files picking code to preserve the order in summary.py script.
parent
9b350e5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
summary.py
modules/ts/misc/summary.py
+8
-7
No files found.
modules/ts/misc/summary.py
View file @
e9901306
...
...
@@ -46,16 +46,17 @@ if __name__ == "__main__":
options
.
columns
=
[
s
.
strip
()
.
replace
(
"
\\
n"
,
"
\n
"
)
for
s
in
options
.
columns
.
split
(
","
)]
# expand wildcards and filter duplicates
files
=
[]
files1
=
[]
files
=
[]
seen
=
set
()
for
arg
in
args
:
if
(
"*"
in
arg
)
or
(
"?"
in
arg
):
files1
.
extend
([
os
.
path
.
abspath
(
f
)
for
f
in
glob
.
glob
(
arg
)])
flist
=
[
os
.
path
.
abspath
(
f
)
for
f
in
glob
.
glob
(
arg
)]
flist
=
sorted
(
flist
,
key
=
lambda
text
:
str
(
text
)
.
replace
(
"M"
,
"_"
))
files
.
extend
([
x
for
x
in
flist
if
x
not
in
seen
and
not
seen
.
add
(
x
)])
else
:
files
.
append
(
os
.
path
.
abspath
(
arg
))
seen
=
set
()
files
=
[
x
for
x
in
files
if
x
not
in
seen
and
not
seen
.
add
(
x
)]
files
.
extend
((
set
(
files1
)
-
set
(
files
)))
fname
=
os
.
path
.
abspath
(
arg
)
if
x
not
in
seen
and
not
seen
.
add
(
x
):
files
.
append
(
fname
)
# read all passed files
test_sets
=
[]
...
...
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